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