Return bounding of a simple feature or simple feature set
st_bbox(obj)# S3 method for POINT
st_bbox(obj)
# S3 method for MULTIPOINT
st_bbox(obj)
# S3 method for LINESTRING
st_bbox(obj)
# S3 method for POLYGON
st_bbox(obj)
# S3 method for MULTILINESTRING
st_bbox(obj)
# S3 method for MULTIPOLYGON
st_bbox(obj)
# S3 method for GEOMETRYCOLLECTION
st_bbox(obj)
# S3 method for sfc_POINT
st_bbox(obj)
# S3 method for sfc_MULTIPOINT
st_bbox(obj)
# S3 method for sfc_LINESTRING
st_bbox(obj)
# S3 method for sfc_POLYGON
st_bbox(obj)
# S3 method for sfc_MULTILINESTRING
st_bbox(obj)
# S3 method for sfc_MULTIPOLYGON
st_bbox(obj)
# S3 method for sfc_GEOMETRYCOLLECTION
st_bbox(obj)
# S3 method for sfc_GEOMETRY
st_bbox(obj)
# S3 method for sfc
st_bbox(obj)
# S3 method for sf
st_bbox(obj)
object to compute the bounding box from
a numeric vector of length four, with xmin
, ymin
, xmax
and ymax
values; if obj
is of class sf
or sfc
, the object
returned has a class bbox
, an attribute crs
and a method to print the
bbox and an st_crs
method to retrieve the coordinate reference system
corresponding to obj
(and hence the bounding box).