030] How to Add Elevation Values to Vertices in Global Mapper
Convert 2D CAD drawings into 3D GIS data by manually assigning and interpolating vertex elevations.
Why Vertex Elevation Assignment Is Important in 3D GIS Workflows
In various development and road design plans, design heights (Planned Elevations) are typically designated at major nodal points, with slopes indicated for the sections in between. This tutorial covers the workflow for adding elevation data to 2D lines and areas using the 'Edit Feature Vertices' tool to prepare data for landscape simulations or 3D modeling.
We will learn how to assign height values to the vertices of a Line or Area feature in Global Mapper.
🎥 Video Tutorial: Assigning Heights to Vertices
Need to convert a 2D line into a 3D path? Watch the video below! It demonstrates how to manually assign elevation values to specific vertices and evenly interpolate heights between them using the Feature Vertex List. You can even see the final result in the 3D Viewer!
Video demonstration of the vertex height assignment process
In various development and road design plans, design heights (Planned Elevations) are typically designated at major nodal points, with slopes indicated for the sections in between. However, since most CAD or design data is drawn in 2D (plan view), you must manually apply elevation values to each vertex to use them effectively in landscape simulations or 3D modeling.
Open the practice file and let's get started. Vertex_Height.zip (Verified and safe file for Global Mapper.)
As shown above, the road centerline is displayed along with planned elevations for major points, distances between points, and slope gradients.
Opening the Feature Vertex Editor in Global Mapper
Let's check this in 3D first. Select the Show 3D View icon from the toolbar.
The 3D Viewer window appears. If you rotate the view by right-clicking and dragging, you'll notice that the line is perfectly flat—no height has been applied yet.
Now, let's check the actual vertex information for this line.
Select the line on the main screen, then go to Vertex Editing -> Edit Feature Vertices.
Understanding Vertex Indexes and Elevation Fields
The green dot at the right end of the line represents the starting point (Idx 1), and the red dot at the left end is the terminal point (Idx 21). Looking at the table, you can see the vertex information, but the height values (Z) are missing.
To assign heights to each vertex, click on Add Elevations....
A window will pop up asking if you would like to add elevation values.
If you have a terrain layer loaded, Global Mapper can automatically apply the heights from that terrain to the vertices. Click 'Yes'.
Click OK.
An 'Elevation' column is added. If a terrain layer were active, the height of each vertex's location would be applied. In this case, since we are working from a design plan, the values are initially 0. Without closing the window, let's input our design heights.
How to Assign Elevation Values to Individual Vertices
Double-click Idx 1 in the list and click Edit Elevation.
Enter the planned elevation (e.g., 80) and click OK.
The elevation for Vertex 1 has changed to 80. Now, find the vertices corresponding to the other major points (FH: 95.0, FH: 100.0, FH: 115.0).
In this example, Vertex 8 corresponds to FH: 95.0. Just like before, click Edit Elevation and enter 95.
Repeat this process for all major control points. Once you've entered the key heights, right-click anywhere within the list area.
Interpolating Elevation Values Between Vertices
Select Interpolate Elevations to Replace 0 Values. This will naturally distribute the elevation values for all intermediate vertices between the ones you manually set.
As you can see, the values for the vertices between our fixed points have been distributed smoothly. Click OK.
Viewing the Final 3D Road Geometry
Now, let's verify the results in the 3D Viewer.
Because the slope values are relatively gradual compared to the total length, the elevation change may appear subtle in the 3D Viewer.
You can now export this road centerline to CityEngine or other 3D software for further modeling.
That's all for today!
- Learn previous workflow in 029] How to Split Polygon Areas with Intersecting Lines in Global Mapper
- Continue learning with 031] How to Print and Export Maps in Global Mapper | File Print & Print Preview
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.)