Function srid_get_spheroid

Source
pub unsafe extern "C" fn srid_get_spheroid(
    sqlite: *mut sqlite3,
    srid: c_int,
) -> *mut c_char
Expand description

checks a SRID definition from the “spatial_ref_sys” table then returning the corresponding Spheroid name

\param sqlite handle to current DB connection \param srid the SRID value uniquely identifying the required EPSG definition

\return the Spheroid name on succes, NULL on failure

\note you are responsible for freeing the returned name.