st_subdivide: Return a collection of geometries resulting by subdividing a...

Description Usage Arguments Value Examples

View source: R/subdivide.R

Description

Return a collection of geometries resulting by subdividing a geometry

Usage

1
st_subdivide(x, max_vertices)

Arguments

x

object with geometries to be subdivided

max_vertices

integer; maximum size of the subgeometries (at least 8)

Value

object of the same class as x

Examples

1
2
3
4
library(sf)
demo(nc, ask = FALSE, echo = FALSE)
x = st_subdivide(nc, 10)
plot(x[1])

lwgeom documentation built on Oct. 6, 2021, 5:12 p.m.

Related to st_subdivide in lwgeom...