Global Mapper SDK
Retrieves all the defining parameters from a GM_Projection_t structure by feeding its JSON definition into GeoCalc.
Syntax
C++
Copy
GM_Error_t32 GM_GetProjectionValues(
const GM_Projection_t* aProj, // IN: Projection to get values from
char* aHorizontalCRSCode, // OUT: GC code of Horizontal Coordinate System
char* aVerticalCRSCode, // OUT: GC code of Vertical Coordinate System
char* aHorizontalUnitCode, // OUT: GC code of Horizontal Unit
char* aVerticalUnitCode, // OUT: GC code of Vertical Unit
char* aTargetHorizontalCRSCode, // OUT: GC code of Target Horizontal Coordinate System
char* aTargetVerticalCRSCode, // OUT: GC code of Target Vertical Coordinate System
double* aSourceEpoch, // OUT: Epoch for CRS
double* aTargetEpoch, // OUT: Epoch for target CRS
double* aCentralLongitude, // OUT: Central meridian for CRS (0 = Greenwich)
GM_CoordTransform_t* aCoordTransform // OUT: The coord transform that is used between the source and target CRS (Use GM_FreeCoordTransform to free this)
);
Remarks
All the code strings can be left empty besides the horizontal.
Comments
0 comments
Please sign in to leave a comment.