CalcViewShed

globalmapper.CalcViewShed(GM_LayerHandle_t32 aLayer, GM_ViewShedParams_t aViewShedParms) GM_Error_t32, GM_LayerHandle_t32[source]

Performs a view-shed analysis on loaded elevation data and creates a new Viewshed layer with the results. The returned layer handle must be closed with CloseLayer when you are done with it.

Parameters:
  • aLayer (GM_LayerHandle_t32) – Layer to get elevations from or gm.NULL for topmost layer at each point

  • aViewshedParms (GM_ViewShedParams_t) – Parameters for creating Viewshed

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

Created Viewshed layer

Return type:

GM_LayerHandle_t32