toGeoJSON {rleafmap} | R Documentation |
This function is used internally by writeMap
to convert a given spl
object to GeoJSON format.
toGeoJSON(x, lightjson = F)
x |
a |
lightjson |
logical. Should GeoJSON code size be reduced by supressing extra whitespace characters and rounding numeric values? |
A character string of GeoJSON formatted code.