Description Usage Arguments Value
Return bounding of a simple feature or simple feature set
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | st_bbox(obj)
## S3 method for class 'POINT'
st_bbox(obj)
## S3 method for class 'MULTIPOINT'
st_bbox(obj)
## S3 method for class 'LINESTRING'
st_bbox(obj)
## S3 method for class 'POLYGON'
st_bbox(obj)
## S3 method for class 'MULTILINESTRING'
st_bbox(obj)
## S3 method for class 'MULTIPOLYGON'
st_bbox(obj)
## S3 method for class 'GEOMETRYCOLLECTION'
st_bbox(obj)
## S3 method for class 'sfc_POINT'
st_bbox(obj)
## S3 method for class 'sfc_MULTIPOINT'
st_bbox(obj)
## S3 method for class 'sfc_LINESTRING'
st_bbox(obj)
## S3 method for class 'sfc_POLYGON'
st_bbox(obj)
## S3 method for class 'sfc_MULTILINESTRING'
st_bbox(obj)
## S3 method for class 'sfc_MULTIPOLYGON'
st_bbox(obj)
## S3 method for class 'sfc_GEOMETRYCOLLECTION'
st_bbox(obj)
## S3 method for class 'sfc_GEOMETRY'
st_bbox(obj)
## S3 method for class 'sfc'
st_bbox(obj)
## S3 method for class 'sf'
st_bbox(obj)
|
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).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.