makeNodes
create nodes on lines
mergeLines
connect lines to form polygons
removeDupNodes
removes duplicate nodes in geometries and optionally rounds the coordinates
snap
makes boundaries of geometries identical if they are very close to each other.
# S4 method for SpatVector
mergeLines(x)
# S4 method for SpatVector
snap(x, y=NULL, tolerance)
# S4 method for SpatVector
removeDupNodes(x, digits = -1)
# S4 method for SpatVector
makeNodes(x)
SpatVector of lines or polygons
SpatVector of lines or polygons to snap to. If NULL
snapping is to the other geometries in x
numeric. Snapping tolerance (distance between geometries)
numeric. Number of digits used in rounding. Ignored if < 0
SpatVector