Edit and simplify 'geojson' and 'Spatial' objects. This is wrapper around the 'mapshaper' 'javascript' library to perform topologically-aware polygon simplification, as well as other operations such as clipping, erasing, dissolving, and converting 'multi-part' to 'single-part' geometries. It relies on the 'geojsonio' package for working with 'geojson' objects, and the 'sp' and 'rgdal' packages for working with 'Spatial' objects.

Documentation

Manual: rmapshaper.pdf
Vignette: rmapshaper Basics

Maintainer: Andy Teucher <andy.teucher at gmail.com>

Author(s): Andy Teucher*, Kenton Russell* (JavaScript support), Matthew Bloch* (mapshaper Javascript library)

Install package and any missing dependencies by running this line in your R console:

install.packages("rmapshaper")

Depends
Imports rgdal(>=1.1-10), sp(>=1.2-1), V8(>=1.0.2), geojsonio(>=0.3.0), geojsonlint(>=0.1.0), readr(>=0.2.2), methods
Suggests testthat, rgeos, knitr, rmarkdown, magrittr
Enhances
Linking to
Reverse
depends
Reverse
imports
tmaptools
Reverse
suggests
mregions, tilegramsR
Reverse
enhances
Reverse
linking to

Package rmapshaper
Materials
URL https://github.com/ateucher/rmapshaper
Task Views
Version 0.2.0
Published 2017-02-16
License MIT + file LICENSE
BugReports https://github.com/ateucher/rmapshaper/issues
SystemRequirements
NeedsCompilation no
Citation
CRAN checks rmapshaper check results
Package source rmapshaper_0.2.0.tar.gz