Creates a sf object from numeric extent vector and applies a default WGS84 (EPSG:4326) coordinate reference system.
1 2 | spat_bb(b_ext, buff_dist = 0,
proj4s = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs")
|
b_ext |
Numeric extent [xmin, xmax, ymin, ymax] |
buff_dist |
Distance in decimal degrees to expand the bounding box by in all directions. |
proj4s |
Either the proj4 string or EPSG number of the native projection of the bounds |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.