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