GenerateContoursEx

globalmapper.GenerateContoursEx([GM_LayerHandle_t32] aLayerList, GM_ContourParams_t aContourParms) GM_Error_t32, GM_LayerHandle_t32[source]

Generates contours from loaded elevation data and creates a new vector layer with the results. The returned layer handle must be closed with CloseLayer when you are done with it.

The aContourParms parameter can accept the contour interval size in meters or in feet; if is provided in a different unit, it will be automatically converted into meters.

Parameters:
  • aLayerList ([GM_LayerHandle_t32]) – List of layers to use or None for all

  • aContourParms (GM_ContourParams_t) – Parameters for generating contours

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

Created contour layer

Return type:

GM_LayerHandle_t32