simplify.Rd
Reduce the number of nodes used to represent geometries.
# S4 method for SpatVector
simplifyGeom(x, tolerance=0.1, preserveTopology=TRUE, makeValid=TRUE)
SpatVector of lines or polygons
numeric. The minimum distance between nodes in units of the crs (i.e. degrees for long/lat)
logical. If TRUE
the topology of output geometries is preserved
logical. If TRUE
, makeValid
is run after simplification to assure that the output polygons are valid
SpatVector