Skip to contents

Get the gaps between polygons of a SpatVector

Usage

# S4 method for class 'SpatVector'
gaps(x)

Arguments

x

SpatVector

Value

SpatVector

See also

sharedPaths, topology, and fillHoles to get or remove polygon holes

Examples

f <- system.file("ex/lux.shp", package="terra")
v <- vect(f)
h <- hull(v[-12], by="NAME_1")
g <- gaps(h)