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

View source: R/subdivide.R

st_subdivideR Documentation

Return a collection of geometries resulting by subdividing a geometry

Description

Return a collection of geometries resulting by subdividing a geometry

Usage

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

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

lwgeom documentation built on May 31, 2023, 6:06 p.m.

Related to st_subdivide in lwgeom...