[][src]Function spatialite_sys::gaiaOutGeoJSON

pub unsafe extern "C" fn gaiaOutGeoJSON(
    out_buf: gaiaOutBufferPtr,
    geom: gaiaGeomCollPtr,
    precision: c_int,
    options: c_int
)

Encodes a Geometry object into GeoJSON notation

\param out_buf pointer to dynamically growing Text buffer \param geom pointer to Geometry object \param precision decimal digits to be used for coordinates \param options GeoJSON specific options

\sa gaiaParseGeoJSON

\note \e options can assume the following values: \li 1 = BBOX, no CRS \li 2 = no BBOX, short form CRS \li 3 = BBOX, short form CRS \li 4 = no BBOX, long form CRS \li 5 = BBOX, long form CRS \li any other value: no BBOX and no CRS