powered by
This function is used internally by writeMap to convert a given spl object to GeoJSON format.
writeMap
spl
toGeoJSON(x, lightjson = F)
A character string of GeoJSON formatted code.
a spl object.
logical. Should GeoJSON code size be reduced by supressing extra whitespace characters and rounding numeric values?
writeOGR and its driver "GeoJSON" for GeoJSON export.
writeOGR
GeoJSON