Skip to contents

The threshold is applied to the area of the multipolygon object, not each individual polygon. Non-sliver polygons keep their original attributes. Intended to be used when it is important to retain the original extent of an area while removing sliver polygons.

Usage

deSliver(x, threshold)

Arguments

x

an sf POLYGONS or MULTIPLOYGONS object

threshold

the minimum area below which a polygon is considered a sliver

Value

an object of class sf with sliver polygons merged to their nearest valid neighbour.