| wkb_ranges {wkutils} | R Documentation |
Extract ranges information
Description
This is intended to behave the same as range(), returning the
minimum and maximum x, y, z, and m coordinate values.
Usage
wkb_ranges(wkb, na.rm = FALSE, finite = FALSE)
wkt_ranges(wkt, na.rm = FALSE, finite = FALSE)
wkb_feature_ranges(wkb, na.rm = FALSE, finite = FALSE)
wkt_feature_ranges(wkt, na.rm = FALSE, finite = FALSE)
Arguments
wkb |
A |
na.rm |
Pass |
finite |
Pass |
wkt |
A character vector containing well-known text. |
Value
A data.frame with columns:
-
xmin,ymin,zmin, andmmin: Minimum coordinate values -
xmax,ymax,zmax, andmmax: Maximum coordinate values
Examples
wkt_ranges("POINT (30 10)")
[Package wkutils version 0.1.3 Index]