globalmapper.GenerateDensityGrid¶
- globalmapper.GenerateDensityGrid(GM_LayerHandle_t32 aPointLayer, GM_DensityGridParams_t aGridParms) GM_Error_t32, GM_LayerHandle_t32 [source]¶
Generates a density (heat) grid from the point features in a layer. The values will be based on either just the count of point features or the value of some attribute. The returned layer handle must be closed with CloseLayer when you are done with it.
- Parameters:
aPointLayer (GM_LayerHandle_t32) – Layer to get points from
aGridParms (GM_DensityGridParams_t) – Parameters for generating density grid
- Returns:
Error Code
- Return type:
GM_Error_t32
- Returns:
Created density grid layer
- Return type:
GM_LayerHandle_t32