SaveProjectionToFile ==================== .. currentmodule:: globalmapper .. py:function:: SaveProjectionToFile (string aFilename, GM_Projection_t aProj, uint32 aReserved=0) -> GM_Error_t32 Saves a GM_Projection_t structure to a projection (PRJ) file. :param str aFilename: filename of projection file to save to :param GM_Projection_t aProj: projection to save :param uint32 aReserved: Reserved for future use; defaults to 0 :returns: Error Code :rtype: GM_Error_t32 Example ------- The following is an example of SaveProjectionToFile. .. literalinclude:: ../../sample_tests/sample_code/SaveProjectionToFile_sample.py :language: python For more context refer to :doc:`the tutorial page on setting projections<../sampleCode/DemoProjections>`.