View source: R/polygons_mutually_exclude.R
polygons_mutually_exclude | R Documentation |
Helper function to ensure that polygons (e.g. parks, beaches, informal nature areas) are mutually-exclusive (i.e. non-overlapping).
polygons_mutually_exclude(input, mutually_exclude, snap_tolerance = 0)
input |
|
mutually_exclude |
|
snap_tolerance |
numeric. Argument for |
Polygons vertices first are snapped at a tolerance level
based on snap_tolerance
(if specified) to rectify nearly coincident edges,
before removing input
polygons contained in mutually_exclude
.
Intersections between the two are then removed.
The processed input
polygons (sf
object).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.