This internal helper computes the bounding box (left, bottom, right, top)
for each feature in an sf object.
geo_extent(x, crs = 4326)A data.frame where each row corresponds to a feature's bounding box,
with columns left, bottom, right, top.
An sf object (POLYGON or MULTIPOLYGON) for which to compute bounding boxes.
Numeric, Code of the target CRS. Default is 4326.
The function first validates the input with geo_object_check().
Transforms the object to the target CRS before computing bounding boxes.
CRS and units are inherited from the input sf object.