powered by
Provides a user-friendly wrapper for rgdal::writeOGR(). Note, geojson_write from the geojsonio package provides the same functionality https://github.com/ropensci/geojsonio.
geojson_write
writeGeoJSON(shp, filename)
The spatial object a to be cropped
File name of the output geojson