can't add elevation to line segment
I'm trying to use line segments to create buffers from which I can build dams using the Create Terrain process, but I can't get to the first step of adding elevations to the line. Attached is a workspace containing a line segment and a DEM. When I try to "Apply elevations to selected features", it says "Elevations updated," but no attributes were actually added:
Thanks for any help.
Answers
-
Perhaps if you export your workspace as a GM Package file may we be able to recreate the elevation grid. Presently only the line appears in your workspace file.
-
With line and area features, Apply Elevation assigns the elevation values to the vertices. Line features have multiple vertices, each with their own elevation value, so Global Mapper can't display it as a single attribute. To see the elevation/Z values, click the Vertices button near the top of your Modify Feature Info dialog.
For other uses with the same question, here is information on that dialog: https://www.bluemarblegeo.com/knowledgebase/global-mapper-24/Modify_Feature_Info.htm
-
Here's a package file:
My goal is to use a single line segment to create a buffer from so as to generate a dam using the create terrain or flattened site plan processes, as in the first example in the GM knowledgebase article on adjusting elevations to a single slope (https://www.bluemarblegeo.com/knowledgebase/global-mapper-24/modify/Adjust_Elevations_to_Slope.htm?Highlight=slope; https://www.bluemarblegeo.com/knowledgebase/global-mapper-24/Creating_a_Flattened_Site_Plan.htm)
I know the segment has vertex elevations, and when I try to use the "Adjust Elevations to a Single Slope" process to set the slope to 0.0, it says that the slope was modified, but when I then generate a 1 km buffer and try to use the Create Terrain command, I get the message that the area feature doesn't have elevation values associated with it. Using the create flattened site plan command doesn't result in anything. So how did the 2-vertex segment in the knowledgebase article get an elevation value?
Thanks for any help.
-
Is the attached image more or less the result you are looking for?
-
I am way too lazy to describe my workflow. I attach a pdf document with screenshots to show what I did.
Note that I have GM 20 on this PC. Wording, menus, etc may differ from your GM 24, but the tools are similar.
Hope this helps!
-
Thank you very much! That result is exactly what I'm looking for. How did you get the 1760.272m elevation for the buffer? I can't get an elevation for the line segment when I try to apply elevations to it. I ended up creating a buffer from the line segment, calculating the elevation/slope stats for the buffer, attributing the maximum elevation to a new attribute of ELEVATION, then using your Create Flattened Site Plan process, and got a perfect dam (see below). I just wish I could make the process more efficient by getting an elevation for the line segment before I create the buffer.
-
Hi,
I got it from the Feature Vertices of your line, as per attached workflow.
Regards
Hennie
Howdy, Stranger!
Categories
- 12.4K All Categories
- 5.4K Features Discussion
- 314 Downloading Imagery
- 1.3K Elevation Data
- 377 Georeferencing Imagery Discussion
- 595 GM Script Language
- 46 User Scripts
- 112 GPS Features
- 392 Projection Questions
- 798 Raster Data
- 1.3K Vector Data
- 6.4K Support
- 161 Announcement and News
- 887 Bug Report
- 556 SDK
- 1.1K Suggestion Box
- 3.7K Technical Support
- 534 Other Discussion
- 127 GIS Data Sources
- 26 Global Mapper Showcase
- 223 How I use Global Mapper
- 103 Global Mapper Forum Website