Write elevation/slope stats to feature Script
nikolajvh
Global Mapper User
I am looking for the scripting command for the function called "calculate elevation/slope stats to features".
In particularly I am interested in writing the MAX/MIN elevation, within the area, from a DEM to an attribute of an area feature.
Can I do this in scripting?
In particularly I am interested in writing the MAX/MIN elevation, within the area, from a DEM to an attribute of an area feature.
Can I do this in scripting?
Answers
-
Hello,
This function is not currently available via scripting. We have an open feature request to add it, and I have added your information to the request. We will post a message on this thread when the status of the feature request changes.nikolajvh said:I am looking for the scripting command for the function called "calculate elevation/slope stats to features".
In particularly I am interested in writing the MAX/MIN elevation, within the area, from a DEM to an attribute of an area feature.
Can I do this in scripting?
Cheers,
Bob -
Hello there,In the Scripting Reference under "GENERATE_CONTOURS", there is a function:"GEN_SPOT_ELEVATIONS - generate spot elevations at min/max elevations. Use a value of YES to enable the generate of min/max spot elevation points."Perhaps as a workaround you could just generate one simple contour in your area and then delete it (with "edit vector, maybe?) to get GM to produce the max/min value for you by script.Didn't try it, I just remembered that function existed somewhere. Hope it can help.Good luck,Mark
Categories
- 13K All Categories
- 5.8K Features Discussion
- 350 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 652 GM Script Language
- 56 User Scripts
- 115 GPS Features
- 421 Projection Questions
- 837 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 181 Announcement and News
- 941 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 580 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 111 Global Mapper Forum Website


