Topological error correction

TopoClean(x, xsimplify = FALSE)

Arguments

x

Object of class sf, sfc, sfg or SpatialPolygons

xsimplify

logical or numeric.