globalmapper.MapCatalogCreate

globalmapper.MapCatalogCreate(str aDescription, GM_Projection_t aProj) GM_LayerHandle_t32[source]

Creates a new map catalog layer with the given description and native projection. Once you have created a new map catalog, use the handle returned in calls to MapCatalogAddFile or MapCatalogAddLayer to add new maps to the catalog. Use MapCatalogSave to save the map catalog to a disk file that can later be loaded using any of the LoadLayer* functions.

Parameters:
  • aDescription (str) – Description to use for layer (can be None to use default)

  • aProj (GM_Projection_t) – Native projection of new layer (use None for Geographic/WGS84/Arc Degrees)

Returns:

Handle to the map catalogue layer

Return type:

GM_LayerHandle_t32