GM_GenerateContoursEx

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.

Syntax

C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_GenerateContoursEx
    (
    GM_LayerHandle_t32*         aLayerList,     // IN: List of layers to use or NULL for all
    uint32                      aLayerCount,    // IN: Number of layers in list (0 for all)
    const GM_ContourParams_t*   aContourParms,  // IN: Parameters for generating contours
    GM_LayerHandle_t32*         aContourLayer   // OUT: Created contour layer
    );