globalmapper.GenerateAreasFromEqualValues¶
- globalmapper.GenerateAreasFromEqualValues(GM_LayerHandle_t32 aLayer, GM_EqualValueAreaSetup_t aSetup) GM_Error_t32, GM_LayerHandle_t32 [source]¶
Create a new layer with areas for regions of the same (or similar) color, elevation, or slope values from a loaded raster or elevation layer. Operation is mirrored in Script function GENERATE_EQUAL_VAL_AREAS.
- Parameters:
aLayer (GM_LayerHandle_t32) – Layer to get elevations / colors from
aSetup (GM_EqualValueAreaSetup_t) – Function parameters
- Returns:
Error Code
- Return type:
GM_Error_t32
- Returns:
Created layer
- Return type:
GM_LayerHandle_t32