build_polygon.Rd
Creates a spatial polygon bounding box from a user-provided extent and coordinate reference system.
build_polygon(xmin, xmax, ymin, ymax)
x_min | A float or integer value for the x (longitude) coordinate minimum |
---|---|
x_max | A float or integer value for the x (longitude) coordinate maximum |
y_min | A float or integer value for the y (latitude) coordinate minimum |
y_max | A float or integer value for the y (latitude) coordinate maximum |
my_crs | An integer for the EPSG number of the desired output coordinate reference system. |
A bounding box polygon as an sf object
Chris R. Vernon (chris.vernon@pnnl.gov)