SetProjection

globalmapper.SetProjection(GM_Projection_t aProj) GM_Error_t32[source]

Sets the new projection. This is the projection that all draws and exports will be done in. It is also the projection that all world bound rectangles will be in.

Parameters:

aProj (GM_Projection_t) – The new projection

Returns:

Error Code

Return type:

GM_Error_t32

Example

The following is an example of SetProjection.:

gm.SetProjection(utm_proj)

For more context refer to the tutorial page on setting projections.