globalmapper.ProjectPointFromECEF

globalmapper.ProjectPointFromECEF(float aX, float aY, float aZ, DATUM aDatum, GM_Projection_t aProjOut) GM_Error_t32, float, float, float[source]

Projects a point from ECEF (earth-centered earth-fixed) coordinates referenced to some datum (normally WGS84) to coordinates in some projection.

Parameters
  • aX (float) – ECEF X coordinate of input

  • aY (float) – ECEF Y coordinate of input

  • aZ (float) – ECEF Z coordinate of input

  • aDatum (DATUM) – datum of ECEF coordinate (normally GM_DATUM_WGS_84)

  • aProjTo (GM_Projection_t) – projection to convert to (None for current)

Returns

Error Code

Return type

GM_Error_t32

Returns

X coordinate of output point

Return type

float

Returns

Y coordinate of output point

Return type

float

Returns

Z coordinate of output point (meters above ellipsoid)

Return type

float