st_bbox_update: Update Bounding Box

View source: R/fun-update_bbox.R

st_bbox_updateR Documentation

Update Bounding Box

Description

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.

Usage

st_bbox_update(x)

Arguments

x

an object with class 'sf' or 'sfc'

Value

x, but with an updated bounding box


capellett/scsf documentation built on Sept. 6, 2024, 7:46 a.m.