Description Usage Arguments Examples
View source: R/thin_polygons.R
The function performs thinnedSpatialPoly
on a
sf
object of polygons.
1 | thin_polygons(sf_obj, tolerance)
|
sf_obj |
an objet of class "sf". |
tolerance |
the tolerance value in the metric of the input object (cf. function 'thinnedSpatialPoly'). |
1 2 3 4 5 | vn <- gadm("vietnam", "sf", 0)
vn2 <- thin_polygons(vn, 0.1)
sp::plot(vn)
sp::plot(vn2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.