- globalmapper.GetDatumInfo(DATUM aDatumCode) GM_Error_t32, GM_DatumInfo_t
-
Retrieves information about the datum transformation used for a given datum.
This function is deprecated. Datums retrieved from the GeoCalc datasource with the value GM_DATUM_GEOCALC will give invalid returns.
- Parameters:
-
aDatumCode (DATUM) – Datum code to get information about
- Returns:
-
Error Code
- Return type:
-
GM_Error_t32
- Returns:
-
Information about datum transformation for datum
- Return type:
Example
The following is an example of GetDatumInfo.
import globalmapper as gm
### START SAMPLE
err_GetDatumInfo, datum_info = gm.GetDatumInfo(gm.GM_DATUM_WGS_84)
### END SAMPLE
assert (
gm.GM_Error_None == err_GetDatumInfo
), f"GetDatumInfo: Expected {gm.GM_Error_None}, got {err_GetDatumInfo}"