bb_to_bbox | R Documentation |
Convert a 4-element bbox vector to a sf bbox object
bb_to_bbox( 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 |
crs |
character, the coordinate reference system |
sf bbox object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.