View source: R/sp_create_envelope.R
sp_create_envelope | R Documentation |
Function to create a rectangular polygon envelope, usually used for filtering.
sp_create_envelope(envelope, projection = projection_wgs84())
envelope |
A vector with the length of 4 containing the extent of the envelope to be used as a bounding box. The order is: xmin, xmax, ymin, ymax. Watch out when using latitude and longitude, the order is longitude, longitude, then latitude, latitude. |
projection |
A proj4 string. Default is the WGS84 string. |
Spatial polygon.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.