[][src]Function spatialite_sys::gaiaToFgf

pub unsafe extern "C" fn gaiaToFgf(
    geom: gaiaGeomCollPtr,
    result: *mut *mut c_uchar,
    size: *mut c_int,
    coord_dims: c_int
)

Encodes a Geometry object into FGF notation

\param geom pointer to Geometry object \param result on completion will containt a pointer to the FGF buffer [BLOB]: NULL on failure. \param size on completion this variable will contain the BLOB's size (in bytes) \param coord_dims one of: GAIA_XY, GAIA_XY_Z, GAIA_XY_M, GAIA_XY_ZM

\sa gaiaFromFgf

\note the returned BLOB buffer corresponds to dynamically allocated memory: so you are responsible to free() it [unless SQLite will take care of memory cleanup via buffer binding].