File: st_subdivide.Rd

package info (click to toggle)
r-cran-lwgeom 0.2-14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,532 kB
  • sloc: ansic: 40,523; cpp: 439; sh: 14; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/subdivide.R
\name{st_subdivide}
\alias{st_subdivide}
\title{Return a collection of geometries resulting by subdividing a geometry}
\usage{
st_subdivide(x, max_vertices)
}
\arguments{
\item{x}{object with geometries to be subdivided}

\item{max_vertices}{integer; maximum size of the subgeometries (at least 8)}
}
\value{
object of the same class as \code{x}
}
\description{
Return a collection of geometries resulting by subdividing a geometry
}
\examples{
library(sf)
demo(nc, ask = FALSE, echo = FALSE)
x = st_subdivide(nc, 10)
plot(x[1])
}