SaveProjectionToFile¶
- globalmapper.SaveProjectionToFile(string aFilename, GM_Projection_t aProj, uint32 aReserved=0) GM_Error_t32[source]¶
- Saves a GM_Projection_t structure to a projection (PRJ) file. - Parameters:
- aFilename (str) – filename of projection file to save to 
- aProj (GM_Projection_t) – projection to save 
- aReserved (uint32) – Reserved for future use; defaults to 0 
 
- Returns:
- Error Code 
- Return type:
- GM_Error_t32 
 
Example¶
The following is an example of SaveProjectionToFile.
err_SaveProjectionToFile = gm.SaveProjectionToFile(
    export_dir + "saved_proj.prj", gm.GM_Projection_t(), 0
)
For more context refer to the tutorial page on setting projections.
