gaps | R Documentation |
Get the gaps between polygons of a SpatVector
## S4 method for signature 'SpatVector'
gaps(x)
x |
SpatVector |
SpatVector
sharedPaths
, topology
, and
fillHoles
to get or remove polygon holes
f <- system.file("ex/lux.shp", package="terra")
v <- vect(f)
h <- convHull(v[-12], "NAME_1")
g <- gaps(h)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.