globalmapper.CalcAreaElevStats ============================== .. currentmodule:: globalmapper .. py:function:: CalcAreaElevStats([GM_LayerHandle_t32] aLayerList, GM_Point_t aPointList, float aXSpacing, float aYSpacing, int aReserved) -> GM_Error_t32, GM_AreaElevStats_t Calculates elevation statistics from loaded elevation data within a provided bounding polygon at a provided spacing. :param [GM_LayerHandle_t32] aLayerList: List of layers to use or None for all :param GM_Point_t aPointList: List of points in area in global coordinate system :param float aXSpacing: Sample spacing in the x direction in global units (use 0.0 to get a good default) :param float aYSpacing: Sample spacing in the y direction in global units (use 0.0 to get a good default) :param int aReserved: Reserved for future use; must be 0. :returns: Error Code :rtype: GM_Error_t32 :returns: Calculated area statistics :rtype: GM_AreaElevStats_t