ProjectionGetBase ================= .. currentmodule:: globalmapper .. py:function:: ProjectionGetBase (GM_Projection_t aProjIn) -> GM_Error_t32, GM_Projection_t Retrieves the underlying base projection that forms the basis for a given projection. For example, the underlying Transverse Mercator projection will be returned for a UTM projection. For core projections, like Transverse Mercator, the output will just match the input. :param GM_Projection_t aProjIn: projection to convert from (None for current) :returns: Error Code :rtype: GM_Error_t32 :return: Projection on which the input projection is based :rtype: GM_Projection_t Example ------- The following is an example of ProjectionGetBase. .. literalinclude:: ../../sample_tests/sample_code/ProjectionGetBase_sample.py :language: python For more context refer to :doc:`the tutorial page on setting projections<../sampleCode/DemoProjections>`.