st_bbox_and_dims | R Documentation |
This helper function returns the bounding boxes and width/height dimensions of each feature row in an sf object.
st_bbox_and_dims(x)
x |
An sf-compatible feature layer REQUIRED. |
A data.frame with columns xmin, ymin, xmax, ymax, width, height
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.