fix_geom {SUNGEO} | R Documentation |
Fix polygon geometries
Description
Function to check validity and fix broken geometries in simple features polygon objects
Usage
fix_geom(x, n_it = 10)
Arguments
x |
Polygon layer to be checked and fixed. |
n_it |
Number of iterations. Default is 10. Numeric.. |
Value
Returns a sf
polygon object, with self-intersections and other geometry problems fixed.
Examples
# Assignment of a single variable (sums)
## Not run:
data(clea_deu2009)
out_1 <- fix_geom(clea_deu2009)
## End(Not run)
[Package SUNGEO version 1.3.0 Index]