polygon_bounding_box.Rd
Creates a spatial polygon bounding box from a user-provided extent and coordinate reference system.
polygon_bounding_box(x_min, x_max, y_min, y_max, my_crs)
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)