Learn R Programming

sf (version 0.3-1)

st_bbox: Return bounding of a simple feature or simple feature set

Description

Return bounding of a simple feature or simple feature set

Usage

st_bbox(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)
"st_bbox"(obj)

Arguments

obj
object to compute the bounding box from

Value

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).