create_area_polygon: Create Area Polygon

View source: R/func_create_area_polygon.R

create_area_polygonR Documentation

Create Area Polygon

Description

USing XY coordinate files with lat and lon as the first two columns creates a polygon

Usage

create_area_polygon(
  top_line,
  bot_line,
  reverse = F,
  crs_args = "+proj=longlat +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0"
)

Arguments

top_line

SpatialLines object describing the top edge of the polygon

bot_line

SpatialLines object describing the bot edge of the polygon

reverse

Does the bot_line need to be orderd in reverse to describe the polygon correctly, default FALSE

crs_args

supply the CRS arguments to describe the polygon, default "+proj=longlat +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0"

Author(s)

Will S. Drysdale


willdrysdale/wsdmiscr documentation built on Aug. 26, 2023, 12:31 a.m.