GM_GenerateContours

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

See the definition of the GM_ContourParams_t type in the GlobalMapperInterface.h header file for a description of what options are available when generating the contour lines, iso-height areas, and/or min/max spot elevations.

Syntax

C++
Copy
GM_Error_t32 __stdcall GM_GenerateContours
(
GM_LayerHandle_t32          aLayer,         // IN: Layer to get elevations from or NULL for topmost layer at each point
const GM_ContourParams_t*   aContourParms,  // IN: Parameters for generating contours
GM_LayerHandle_t32*         aContourLayer   // OUT: Created contour layer
);