003] Global Mapper - Terrain Analysis, DEM Creation, and Raster Reclassification
Today, we will explore how to perform contour and terrain analysis using Global Mapper. If you are accustomed to ESRI products or Q-GIS, you might find Global Mapper's output slightly different at first, but its intuitive workflow is incredibly powerful once you get used to it.
"Before we begin, if you missed the previous session, check it out here:"
001] Global Mapper - Creating DEMs
1. Creating a DEM Using Digital Topographic Maps
The first step in terrain analysis is generating a Digital Elevation Model (DEM) from contour data. You can use your own data or any standard digital topographic map files.
download Terrain_data.zip (This is a safe proprietary data file for Global Mapper.)
Opening the Data
To begin, open your contour file in Global Mapper by navigating to File > Open Data File(s).
| Global Mapper File Open menu screen |
Once the file is loaded, you will see the contour lines displayed on the screen. However, the default colors might not be very visible depending on your workspace settings.
| Loaded contour lines on the main workspace |
Adjusting Contour Line Styles
To make the analysis easier, let's change the color of the contour lines. In the Control Center, select the contour layer, right-click, and choose Options.
| Control Center layer options menu |
In the Vector Options window, go to the Line Styles tab and click on Select Style.
| Vector Options - Line Styles tab |
From the Select Line Style window, click on Color, choose a highly visible color (like dark grey or black), and click OK to apply the changes.
| Color picker and line style selection window |
| Applying the new line style settings |
Now the contour lines are much clearer and easier to work with.
| Map view with updated contour line colors |
2. Generating the Elevation Grid (DEM)
Now that we have our vector data, we need to convert it into a grid (DEM). The most critical step here is assigning the elevation attribute.
Assigning Elevation Attributes
Right-click the layer in the Control Center > Options > Elevations. Select the attribute field that contains the elevation data (usually 'CONT') and click Apply.
| Assigning elevation attribute from the CONT field |
Creating the Grid
Next, right-click the layer again, and navigate to Analysis > Create Elevation Grid.
| Accessing the Create Elevation Grid menu |
The Grid Creation Options window will appear. For basic analysis, you can simply click OK with the default settings.
| Grid Creation Options window |
A DEM is now generated, showing the terrain as a black-and-white gradient by default.
| Generated DEM in black and white gradient |
3. Adding an Elevation Legend
To understand the elevation range, we should add a legend to the screen. Go to View > Workspace Layout Options > Elevation Legend.
| Workspace Layout Options menu for Elevation Legend |
In the Configuration window, set it as follows:
| Elevation Legend configuration settings |
- Unit: Select Metric (meters) for standard measurements.
- Transparency: Set to Opaque (100%) for better visibility.
- Legend Range: Choose Data Extents to show the full range of your terrain.
Now a legend appears on the left, showing that our terrain ranges from 65m to 135m.
| DEM with the elevation legend displayed |
4. Changing the Color Ramp (Shader)
While black-and-white is functional, most people prefer the standard topographic color scheme (red for high, blue for low). Global Mapper provides various pre-set Shaders.
On the top toolbar, click the drop-down menu next to the mountain icon (Shader list) and select Atlas Shader.
| Selection of Atlas Shader from the drop-down menu |
The map now displays a more familiar topographic color scheme.
| DEM with Atlas Shader applied |
5. Raster Reclassification and Statistics
If you need to know the exact area occupied by specific elevation ranges, use Raster Reclassification. Navigate to Raster Analysis > Raster Reclassification.
| Raster Analysis - Raster Reclassification menu |
In the reclassification window, you can set the Number of Bins (how many levels to divide the data into) and see the area distribution in a bar graph.
| Raster Reclassification setup and bar graph |
By clicking Display in Graph Window, you can view the distribution in a larger window and save it as an image or export the data as a CSV file for use in Excel.
| Enlarged elevation distribution graph |
6. Slope and Aspect Analysis
Performing Slope (gradient) and Aspect (slope direction) analysis is just as simple. You only need to switch the Shader.
| Selecting Slope Shader from the list |
Once you change the shader, the map updates instantly to show the slope distribution.
| Slope analysis map output |
Conclusion
Global Mapper makes terrain analysis intuitive and fast. Whether you are generating a DEM or conducting advanced slope studies, the key lies in mastering the Shader options and Raster Analysis tools. Give it a try with your own topographic data!
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.)