Get the gaps between polygons of a SpatVector
# S4 method for SpatVector
gaps(x)
SpatVector
SpatVector
sharedPaths
, topology
, and
fillHoles
to get or remove polygon holes
# NOT RUN {
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