Rdocumentation
powered by
Learn R Programming
stplanr (version 0.1.0)
writeGeoJSON: Write to geojson easily
Description
Provides a user-friendly wrapper for rgdal::writeOGR(). Note,
geojson_write
from the geojsonio package provides the same functionality
https://github.com/ropensci/geojsonio
.
Usage
writeGeoJSON(shp, filename)
Arguments
shp
The spatial object a to be cropped
filename
File name of the output geojson