Global Mapper SDK
GM_AreProjectionsEquivalent
Determines if 2 projections represent the same coordinate system. This is smart enough to treat projections like a particular UTM zone as equivalent to its base Transverse Mercator projection with the right parameters.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_AreProjectionsEquivalent
(
const GM_Projection_t* aProj1, // IN: First projection to check
const GM_Projection_t* aProj2, // IN: Second projection to check
boolean* aEquivalent // OUT: Are they the same?
)