globalmapper.LoadRectifiedLayer =============================== .. currentmodule:: globalmapper .. py:function:: LoadRectifiedLayer (str aFilename, GM_LoadFlags_t32 aLoadFlags, GM_GroundControlPoint_t aGCPList, uint32 aNumGCPs, GM_Projection_t aProj) -> GM_Error_t32, GM_LayerHandle_t32 Loads the given file and returns a handle to the layer. The layer handle can be used in other calls into the library. The layer must be closed by calling :doc:`CloseLayer` when the caller is done using it. The layer will be positioned according to the ground control point (GCP) list provided. The ground coordinates in the GCP list must be given in the projection specified by *aProj*. :param str aFilename: the file of the layer you want to load and rectify :param GM_LoadFlags_t32 aLoadFlags: control flags for loading the layer :param GM_GroundControlPoint_t aGCPList: a list of ground control points to rectify the layer with :param uint32 aNumGCPs: the size of a *GCPList* :param GM_Projection_t aProj: the projection to use for the layer and GCPs :returns: Error Code :rtype: GM_Error_t32 :returns: Handle of the loaded and rectified layer :rtype: GM_LayerHandle_t32