bb_to_polygon | R Documentation |
Alternatively, input a list of bounding boxes, each is transformed into one feature in a multi-feature object.
bb_to_polygon( bb = c(-72, -63, 39, 46), crs = ifelse(use_wkt("sf"), "epsg:4326", "+init=epsg:4326") )
bb |
a 4-element numeric vector of left, right, bottom and top coordinates or a list of the same. |
crs |
character, the coordinate reference system |
a simple feature with a POLYGON or multiple feature object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.