create_extent.Rd
Create a rectangular spatial extent for the analysis
create_extent(bounds, input_crs = 4326, output_crs = input_crs)
Coordinates marking the boundaries of the extent, as an
ordered vector in the form c(xmin, ymin, xmax, ymax)
.
Coordinate reference system in which the coordinate values
of bounds
are expressed. Can be anything understood by sf::st_crs()
. By
default equal to 4326, i.e. longitude and latitude coordinates with WGS84 as
geodetic datum.
Coordinate reference system to create the extent in. Can
be anything understood by sf::st_crs()
. By default equal to input_crs
.
The rectangular extent as a single POLYGON
geometry in an object
of class sfc
.