Function gaiaGeoHash

Source
pub unsafe extern "C" fn gaiaGeoHash(
    geom: gaiaGeomCollPtr,
    precision: c_int,
) -> *mut c_char
Expand description

Utility function: GeoHash

\param geom the input geometry. \param precision the expected precision: if <= 0 will be automatically determined.

\return NULL on failure: a null-terminated text string on success

\note you are responsible to free (before or after) any text string returned by gaiaGeoHash()

\remark \b LWGEOM support required.