globalmapper.CalcAreaElevStats¶
- globalmapper.CalcAreaElevStats([GM_LayerHandle_t32] aLayerList, [GM_Point_t] aPointList, float aXSpacing, float aYSpacing, uint32 aReserved=0) GM_Error_t32, GM_AreaElevStats_t [source]¶
Calculates elevation statistics from loaded elevation data within a provided bounding polygon at a provided spacing.
- Parameters:
aLayerList ([GM_LayerHandle_t32]) – List of layers to use or None for all
aPointList ([GM_Point_t]) – List of points in area in global coordinate system
aXSpacing (float) – Sample spacing in the x direction in global units (use 0.0 to get a good default)
aYSpacing (float) – Sample spacing in the y direction in global units (use 0.0 to get a good default)
aReserved (uint32) – Reserved for future use; defaults to 0
- Returns:
Error Code
- Return type:
GM_Error_t32
- Returns:
Calculated area statistics
- Return type: