gaps: Find gaps between polygons

Description Usage Arguments Value See Also Examples

Description

Get the gaps between polygons of a SpatVector

Usage

1
2
## S4 method for signature 'SpatVector'
gaps(x)

Arguments

x

SpatVector

Value

SpatVector

See Also

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

Examples

1
2
3
4
f <- system.file("ex/lux.shp", package="terra")
v <- vect(f)
h <- convHull(v[-12], "NAME_1")
g <- gaps(h)

terra documentation built on Jan. 13, 2022, 5:08 p.m.