Description Usage Arguments Value
Returns the largest ring from a single polygon feature, retaining original ID value.
@details Finds the biggest ring of a SpatialPolygons* object and uses that ring to create a new SpatialPolygons object with the same ID value. This can be used to clean up holes/overlap within polygons, or to remove small polygons within a multipart polygon
1 |
poly |
A SpatialPolygons* object. The feature may have multiple rings. If an object with multiple shapes is passed, the function is iterated over all entries. |
SpatialPolygon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.