LoadProjectionFromWKTString =========================== .. currentmodule:: globalmapper .. py:function:: LoadProjectionFromWKTString (str aStr) -> GM_Error_t32, GM_Projection_t Initializes a GM_Projection_t structure from a WKT projection string (like would be found in a PRJ file). :param str aStr: String to decode projection from :returns: Error Code :rtype: GM_Error_t32 :return: The decoded projection :rtype: GM_Projection_t Example ------- The following is an example of LoadProjectionFromWKTString. .. literalinclude:: ../../sample_tests/sample_code/LoadProjectionFromWKTString_sample.py :language: python For more context refer to :doc:`the tutorial page on setting projections<../sampleCode/DemoProjections>`.