powered by
Get the gaps between polygons of a SpatVector
# S4 method for SpatVector gaps(x)
SpatVector
sharedPaths, topology, and fillHoles to get or remove polygon holes
sharedPaths
topology
fillHoles
f <- system.file("ex/lux.shp", package="terra") v <- vect(f) h <- convHull(v[-12], "NAME_1") g <- gaps(h)
Run the code above in your browser using DataLab