[][src]Function spatialite_sys::gaiaFromSpatiaLiteBlobWkbEx

pub unsafe extern "C" fn gaiaFromSpatiaLiteBlobWkbEx(
    blob: *const c_uchar,
    size: c_uint,
    gpkg_mode: c_int,
    gpkg_amphibious: c_int
) -> gaiaGeomCollPtr

Creates a Geometry object from the corresponding BLOB-Geometry

\param blob pointer to BLOB-Geometry \param size the BLOB's size \param gpkg_mode is set to TRUE will accept only GPKG Geometry-BLOBs \param gpkg_amphibious is set to TRUE will indifferenctly accept either SpatiaLite Geometry-BLOBs or GPKG Geometry-BLOBs

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

\sa gaiaFreeGeomColl, gaiaToSpatiaLiteBlobWkb, gaiaToCompressedBlobWkb

\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.