[][src]Function spatialite_sys::gaiaTransform_r

pub unsafe extern "C" fn gaiaTransform_r(
    p_cache: *const c_void,
    org: gaiaGeomCollPtr,
    proj_from: *mut c_char,
    proj_to: *mut c_char
) -> gaiaGeomCollPtr

Tansforms a Geometry object into a different Reference System [aka Reprojection]

\param p_cache a memory pointer returned by spatialite_alloc_connection() \param org pointer to input Geometry object. \param proj_from geodetic parameters string [EPSG format] qualifying the input Reference System \param proj_to geodetic parameters string [EPSG format] qualifying the output Reference System

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

\sa gaiaTransform, gaiaFreeGeomColl

\note you are responsible to destroy (before or after) any allocated Geometry, this including any Geometry returned by gaiaGeometryTransform()\n reentrant and thread-safe.

\remark \b PROJ.4 support required