globalmapper.GenerateContoursEx =============================== .. currentmodule:: globalmapper .. py:function:: GenerateContoursEx ([GM_LayerHandle_t32] aLayerList, GM_ContourParams_t aContourParms) -> GM_Error_t32, GM_LayerHandle_t32 Generates contours from loaded elevation data and creates a new vector layer with the results. The returned layer handle must be closed with :doc:`CloseLayer<../load/globalmapper.CloseLayer>` when you are done with it. :param [GM_LayerHandle_t32] aLayerList: List of layers to use or None for all :param GM_ContourParams_t aContourParms: Parameters for generating contours :returns: Error Code :rtype: GM_Error_t32 :return: Created contour layer :rtype: GM_LayerHandle_t32