globalmapper.GenerateElevationGrid

globalmapper.GenerateElevationGrid([GM_LayerHandle_t32] aLayerList, GM_GridGenSetup_t aGridSetup) GM_Error_t32, GM_LayerHandle_t32, GM_LayerHandle_t32[source]

Generates an elevation grid and optionally a 3D area TIN layer from loaded 3D vector data. The returned grid layer handle(s) and TIN layer (if created) must be closed with CloseLayer when you are done with them.

Parameters:
  • aLayerList ([GM_LayerHandle_t32]) – List of layers to use or None for all

  • aGridSetup (GM_GridGenSetup_t) – Grid setup parameters (pass None for default options)

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

Created grid layer

Return type:

GM_LayerHandle_t32

Returns:

Created TIN area layer (optional, set to None if you don’t want it)

Return type:

GM_LayerHandle_t32