[][src]Function spatialite_sys::gaiaParseGeoJSON

pub unsafe extern "C" fn gaiaParseGeoJSON(
    in_buffer: *const c_uchar
) -> gaiaGeomCollPtr

Creates a Geometry object from GeoJSON notation

\param in_buffer pointer to GeoJSON buffer

\return the pointer to the newly created Geometry object: NULL on failure

\sa gaiaOutGeoJSON

\note you are responsible to destroy (before or after) any allocated Geometry, unless you've passed ownership of the Geometry object to some further object: in this case destroying the higher order object will implicitly destroy any contained child object.