powered by
Return a collection of geometries resulting by subdividing a geometry
st_subdivide(x, max_vertices)
object of the same class as x
x
object with geometries to be subdivided
integer; maximum size of the subgeometries (at least 8)
library(sf) demo(nc, ask = FALSE, echo = FALSE) x = st_subdivide(nc, 10) plot(x[1])
Run the code above in your browser using DataLab