Description Usage Arguments Value Examples
Apply a generalisation algorithm to a SpatialPolygons or SpatialPolygonsDataFrame object.
1 2 | generalise_it(spdf,tol)
spdf
|
spdf |
A SpatialPolygons or SpatialPolygonsDataFrame object |
tol |
The tolerance of the generalising algorithm. The higher this is, the cruder the generalisation. For caricaturing, it should be reasonably high - eg 10000 for the Irish National Grid in metres. |
A generalised SpatialPolygons object
1 2 | data(RA)
RA.spdf %>% small_chop %>% generalise_it(10000) %>% plot
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.