Perform constant-density sampling of polygons.
constantDensitySampling(
x,
polygon.id = "pID",
n.pts.per.ac = 1,
min.samples = 5,
sampling.type = "regular"
)
either SpatVector
or object that can be coerced into one, should contain polygons registered to a planar coordinate reference system
character, name of column which contains a unique ID for each polygon
numeric, sampling density in "points per acre"
integer, enforced minimum number of samples per polygon
character, sampling type passed to terra::spatSample()
SpatVector
of sample points