Apply a mapshaper command string to a geojson object
Apply a mapshaper command string to a geojson object
apply_mapshaper_commands(data, command, force_FC, sys = FALSE)
data |
geojson object or path to geojson file. If a file path, |
command |
valid mapshaper command string |
force_FC |
should the output be forced to be a FeatureCollection (or
Spatial*DataFrame) even if there are no attributes? Default |
sys |
Should the system mapshaper be used instead of the bundled mapshaper? Gives better performance on large files. Requires the mapshaper node package to be installed and on the PATH. |
geojson
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.