sf objects, uses
Otherwise, uses the common method of buffering by zero.
fix_geo_problems(obj, tries = 5)
The SpatialPolygons* or sf object to check/fix
The maximum number of attempts to repair the geometry. Ignored for
fix_self_intersect has been removed and will no longer work. Use
sf object, repaired if necessary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.