globalmapper.ProjectPointToECEF

globalmapper.ProjectPointToECEF(float aXIn, float aYIn, float aZIn, DATUM aDatum, GM_Projection_t aProjIn) GM_Error_t32, float, float, float[source]

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

Parameters:
  • aXIn (float) – X coordinate of input point

  • aYIn (float) – Y coordinate of input point

  • aZIn (float) – Z coordinate of input point (meters above ellipsoid), usually 0

  • aDatum (DATUM) – datum for ECEF conversion (normally GM_DATUM_WGS_84)

  • aProjTo (GM_Projection_t) – projection of input point (use None for current projection)

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

ECEF X coordinate of input

Return type:

float

Returns:

ECEF Y coordinate of input

Return type:

float

Returns:

ECEF Z coordinate of input

Return type:

float