sp_simplify | R Documentation |
Holes will appear between the geometries at times.
sp_simplify(sp, tolerance, preserve = TRUE)
sp |
Spatial object which is to be simplified. |
tolerance |
Tolerance value to be used by the Douglas-Peuker algorithm. |
preserve |
Should the algorithm attempt to preserve the topology?
Default is |
Stuart K. Grange
## Not run:
# Simplify an object
sp_simple <- sp_simplify(sp, 0.01)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.