fix_overlapping_area: Fix overlapping areas error.

Description Usage Arguments Value

View source: R/fix_overlapping_area.r

Description

The object is decomposed to its segments, and triangulated. This inserts new vertices where ever the segments overlap (invalidly) and returns component triangles. The final fix is to union those triangles, which automatically rebuilds the right paths.

Usage

1
2
3
4
5
6
7
fix_overlapping_area(x, ...)

## S3 method for class 'sfc'
fix_overlapping_area(x, ...)

## S3 method for class 'sf'
fix_overlapping_area(x, ...)

Arguments

x

simple features object

...

arguments passed to methods

Value

simple features object


r-gris/torpor documentation built on May 26, 2019, 1:34 p.m.