Return 'z' range of a simple feature or simple feature set
# S3 method for z_range is.na(x) st_z_range(obj, ...) # S3 method for POINT st_z_range(obj, ...) # S3 method for MULTIPOINT st_z_range(obj, ...) # S3 method for LINESTRING st_z_range(obj, ...) # S3 method for POLYGON st_z_range(obj, ...) # S3 method for MULTILINESTRING st_z_range(obj, ...) # S3 method for MULTIPOLYGON st_z_range(obj, ...) # S3 method for GEOMETRYCOLLECTION st_z_range(obj, ...) # S3 method for MULTISURFACE st_z_range(obj, ...) # S3 method for MULTICURVE st_z_range(obj, ...) # S3 method for CURVEPOLYGON st_z_range(obj, ...) # S3 method for COMPOUNDCURVE st_z_range(obj, ...) # S3 method for POLYHEDRALSURFACE st_z_range(obj, ...) # S3 method for TIN st_z_range(obj, ...) # S3 method for TRIANGLE st_z_range(obj, ...) # S3 method for CIRCULARSTRING st_z_range(obj, ...) # S3 method for sfc st_z_range(obj, ...) # S3 method for sf st_z_range(obj, ...) # S3 method for numeric st_z_range(obj, ..., crs = NA_crs_) NA_z_range_
x | object of class |
---|---|
obj | object to compute the z range from |
... | ignored |
crs | object of class |
An object of class z_range
of length 2.
a numeric vector of length two, with zmin
and zmax
values;
if obj
is of class sf
or sfc
the object
returned has a class z_range
NA_z_range_
represents the missing value for a z_range
object
#> zmin zmax #> 2 3#> zmin zmax #> 16.1 16.6