fix_geom | R Documentation |
Function to check validity and fix broken geometries in simple features polygon objects
fix_geom(x, n_it = 10)
x |
Polygon layer to be checked and fixed. |
n_it |
Number of iterations. Default is 10. Numeric.. |
Returns a sf
polygon object, with self-intersections and other geometry problems fixed.
# Assignment of a single variable (sums)
## Not run:
data(clea_deu2009)
out_1 <- fix_geom(clea_deu2009)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.