ps_create_bounds | R Documentation |
Create a sfc polygon rectangle as padded bbox of sf object.
ps_create_bounds(x, pad)
x |
A sf object. If long/lat, object is temporarily transformed to UTM to add pad distance. |
pad |
A numeric vector indicating amount in metres to pad bounds. If vector of length 1, amount is added to all sides; if vector of length 4 amount is added to left, top, right and bottom, respectively. |
sfc polygon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.