View source: R/fun-update_bbox.R
st_bbox_update | R Documentation |
Update the bounding box of an 'sf' or 'sfc' object. Bounding box information is typically handled internally by the sf package. However, if you modify a geometry directly, the bounding box is not necessarily updated to reflect the modifications. This function can be used to provide an updated bounding box.
st_bbox_update(x)
x |
an object with class 'sf' or 'sfc' |
x, but with an updated bounding box
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.