globalmapper.ProjectPointAtElev¶
- globalmapper.ProjectPointAtElev(float aXIn, float aYIn, GM_Projection_t aProjIn, GM_Projection_t aProjOut, float aElev) GM_Error_t32, float, float [source]¶
This function projects a point from one coordinate system to another at some elevation above the ellipsoid. Use this instead of ProjectPoint if you need to do extremely precise conversions at some height above the ellipsoid. The typical difference between conversions at the ellipsoid surface and within a few thousand meters of the surface is less than 1 meter. If None is passed for either projection parameter, the current view/export projection will be used. This function provides an easy way to convert from latitude/longitude coordinates (or coordinates in any other supported projection) to any other projection, including the current view projection.
- Parameters
aXIn (float) – X coordinate of input point
aYIn (float) – Y coordinate of input point
aProjIn (GM_Projection_t) – projection to convert from (None for current)
aProjTo (GM_Projection_t) – projection to convert to (None for current)
aElev (float) – elevation in meters above ellipsoid surface to do conversion at
- 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