This is intended to behave the same as range(), returning the
minimum and maximum x, y, z, and m coordinate values.
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)A data.frame with columns:
xmin, ymin, zmin, and mmin: Minimum coordinate values
xmax, ymax, zmax, and mmax: Maximum coordinate values
wkt_ranges("POINT (30 10)")
#> # A tibble: 1 × 8
#> xmin ymin zmin mmin xmax ymax zmax mmax
#> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 30 10 Inf Inf 30 10 -Inf -Inf