Description Usage Arguments Value
Convert a 4-element bbox vector to a SpatialPolygons object
1 2 | bbox_to_SpatialPolygons(bb = c(-72, -63, 39, 46),
proj_string = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +towgs84=0,0,0")
|
bb |
a 4-element numeric vector of left, bottom, right, top coordinates |
proj_string |
a proj4string suitable to pass to |
a SpatialPolygons object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.