Rdocumentation
powered by
Learn R Programming
leafletR (version 0.4-0)
spToGeoJSON: Internal function of toGeoJSON
Description
Create GeoJSON file from Spatial object
Usage
spToGeoJSON(data, class, name, dest, overwrite)
Arguments
data
Spatial
object.
class
Class of sp object.
name
Name of the resulting GeoJSON file, as string.
dest
Directory the file shall be saved to, as string.
overwrite
TRUE
overwrites existing files with the same name.
Value
See Also
toGeoJSON