globalmapper.CombineAreas ========================= .. currentmodule:: globalmapper .. py:function:: CombineAreas(GM_AreaFeature_t aAreaList, uint32 aNumAreas, GM_Projection_t aAreaProj, GM_LayerHandle_t32 aNewAreaLayer) -> GM_Error_t32 Combines the given list of areas into one or more new area features and adds the new area to the given layer. Any areas that touch or overlap should be combined. :param GM_AreaFeature_t aAreaList: List of areas to combine :param uint32 aNumAreas: Number of areas in aAreaList :param GM_Projection_t aAreaProj: Projection system the area coordinates are in (use None for current projection) :param GM_LayerHandle_t32 aNewAreaLayer: Layer to add new combined areas to :returns: Error Code :rtype: GM_Error_t32