globalmapper.SetProjectionEx ============================ .. currentmodule:: globalmapper .. py:function:: SetProjectionEx (GM_Projection_t aProj, GM_Rectangle_t aLatLonRect, int aReserved) -> GM_Error_t32 Set 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. This version allows providing a lat/lon bounding rectangle for automatic selection of the best zone for zoned projections. If you pass in a zoned projection, like UTM, with no ZONE attribute or a ZONE of 0, the lat/lon rectangle (if provided) will be used to automatically select the best zone for the provided bounds. If no rectangle is provided, the last drawn rectangle will be used. :param GM_Projection_t aProj: The new projection :param GM_Rectangle_t aLatLonRect: Optional lat/lon/degrees rectangle for automatic selection of zone for zoned projections :param int aReserved: Reserved for future use; must be 0. :returns: Error Code :rtype: GM_Error_t32