011] How to Calculate Elevation and Slope Statistics for Polygons in Global Mapper
Calculate precise numerical terrain statistics for specific boundary areas using the Elevation/Slope Stats tool.
This tutorial explains how to extract quantitative data from a Digital Elevation Model (DEM) based on a selected boundary polygon. You will learn to generate reports including average slope, standard deviation of elevation, and 3D surface area, which are critical for site analysis and development planning.
While we often visualize contour or slope analysis through maps, I will demonstrate a method to obtain terrain characteristics as numerical statistics data.
In this tutorial, you'll learn how to extract terrain statistics from a selected area using Global Mapper.
To follow along easily, you can download the sample file below.
[File Download]
Terrain_Info.zip (Verified and safe file for Global Mapper.)
How to Calculate Terrain Statistics for a Boundary Polygon
I’ve prepared a simple file that contains three layers: Terrain (DEM), Boundary, and Road.
First, let's look up the terrain information for the Boundary area.
To extract terrain data, the terrain layer must be active. This function only works when the terrain layer is enabled and the selected feature falls within the DEM coverage area.
Step-by-Step Instructions:
-
Select the Boundary Polygon using the Digitizer Tool.
-
Right-click and navigate to Analysis/Measurement -> Calculate Elevation/Slope Stats for Selected Feature(s).
-
A window will appear asking whether you want to create new point features at the minimum and maximum elevations found within the area.
-
If you select "Yes," coordinate points for the highest and lowest spots will be added to your map.
-
If you select "No," only the statistics will be generated without adding points.
Once you make a selection, a window displaying the calculated information for the area will pop up.
Understanding Elevation and Slope Statistics
Here is a breakdown of each item provided in the results:
-
PERIMETER: The total boundary length of the selected area.
-
ENCLOSED_AREA: The total 2D area of the selected polygon.
-
MIN_ELEV_M: The lowest elevation point within the area.
-
MIN_ELEV_X / MIN_ELEV_Y: The X and Y coordinates of the lowest point.
-
-
MAX_ELEV_M: The highest elevation point within the area.
-
MAX_ELEV_X / MAX_ELEV_Y: The X and Y coordinates of the highest point.
-
-
AVG_ELEV_M: The average elevation of the area.
-
MODE_ELEV_M: The most frequently occurring elevation value.
-
STD_DEV_ELEV_M: The standard deviation of elevation. This indicates how much the terrain elevation varies from the average, helping you evaluate terrain variability.
-
MAX_SLOPE_DEG / PCT: The steepest slope in the area, shown in degrees and percent.
-
AVG_SLOPE_DEG / PCT: The average slope angle of the entire area.
-
SURFACE_AREA_3D: The 3D surface area, taking terrain undulations into account (usually larger than the 2D enclosed area).
-
STD_DEV_SLOPE_DEG / PCT: The standard deviation of the slope, showing how much the steepness varies.
-
SLOPE_1QUAR_DEG / PCT: The first quartile slope value (25th percentile), representing relatively gentle terrain.
-
SLOPE_MEDIAN_DEG / PCT: The median slope value, useful for understanding the overall steepness.
-
SLOPE_3QUAR_DEG / PCT: The third quartile slope value (75th percentile), representing steeper terrain conditions.
-
AVG_ASPECT: The average terrain orientation (azimuth) in degrees. This helps estimate sun exposure and wind direction (calculated clockwise from North).
After clicking "OK," the window closes, and this information is saved as attributes within the boundary polygon.
How to Review and Export Terrain Statistics
If you want to view this information again later, you don't need to re-run the analysis.
-
Select the Digitizer Tool and double-click the boundary polygon.
img 6 : Modify Feature Tool img 7 : Modify Feature Information window -
Alternatively, select the Feature Info Tool and click on the polygon.
If you wish to save this data separately, select "Copy to Clipboard" in the Feature Info window. You can then paste it into Notepad or Excel.
When pasted into Notepad, it will look like this:
Why Terrain Statistics Matter in Site Analysis
With just the terrain data (DEM) and a boundary polygon, there is so much you can analyze during the review stage:
-
The exact area of the project site.
-
Average slope, which is critical for determining development feasibility.
-
Standard deviation of elevation and slope to estimate the scale of earthworks (cut and fill).
-
The aspect, showing which direction the site faces.
As you can see, Global Mapper makes it easy to extract detailed terrain statistics from DEM data.
In the next tutorial, we’ll explore how to calculate terrain statistics along line features such as roads.
- Learn previous workflow in 010] How to Perform DEM Arithmetic and Terrain Calculations in Global Mapper
- Continue learning with 012] How to Calculate Elevation Gain and Slope for Line Features in Global Mapper
Comments
Post a Comment
Feel free to leave a comment if you have any questions about Global Mapper or CityEngine. I will get back to you with a sincere response as soon as possible. (Please note that all comments are moderated and manually approved to maintain a high-quality community. Promotional or spam content will not be published.)