globalmapper.RepositionLayer ============================ .. currentmodule:: globalmapper .. py:function:: RepositionLayer (GM_LayerHandle_t32 aLayer, GM_GroundControlPoint_t aGCPList, uint32 aNumGCPs, GM_Projection_t aProj) -> GM_Error_t32 Repositions/reprojects the given layer. 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*. If you just want to change the native projection of the layer, provide None for the *aGCPList* parameter and provide the new native projection with the *aProj* parameter. :param GM_LayerHandle_t32 aLayer: the layer you want to reposition :param GM_GroundControlPoint_t aGCPList: the list of ground control points to use to reposition the layer :param uint32 aNumGCPs: the size of *aGCPList* :param GM_Projection_t aProj: the projection to use for the layer and GCPs :returns: Error Code :rtype: GM_Error_t32