globalmapper.SaveProjectionToString

globalmapper.SaveProjectionToString(GM_Projection_t aProj, uint32 aBufSize, uint32 aReserved) GM_Error_t32, str[source]

Saves a GM_Projection_t structure to a WKT projection string. The string buffer aBufSize must be large enough to fit the returned string completely, or else the function will return GM_Error_OutOfMemory.

Parameters
  • aProj (GM_Projection_t) – projection to save

  • aBufSize (uint32) – size of string buffer

  • aReserved (uint32) – Reserved for future use; must be 0.

Returns

Error Code

Return type

GM_Error_t32

Returns

The projection in string form

Return type

str