Find Extreme (Min/Max) Elevations - Is this available/doable via scripting
veddycent
Global Mapper User
Hi all,
I have around 5000 GeoTiffs that I need to find the minimum elevation value for and store in a txt file.
Can you run Find Extreme (Min/max) Elevations via a script as this is does exactly what I need?
Any help would be much appreciated
Kind Regards
I have around 5000 GeoTiffs that I need to find the minimum elevation value for and store in a txt file.
Can you run Find Extreme (Min/max) Elevations via a script as this is does exactly what I need?
Any help would be much appreciated
Kind Regards
Tagged:
Answers
-
Howdy,
I think the metadata that can be saved from the QUERY_LAYER_METADATA script command should contain that information. There is a simple sample script in the scripting reference that you can start with and modify as needed.
Good luck,
Mark
-
Thanks for the reply Mark,
Oddly the min and max value in the metadata is different to the max and min obtained from running Find Extreme (Min/max) Elevations. I'm running v15 of GM so maybe this was a bug.
I luckily don't need to do this anymore as I do it in another program.
I think it would be useful to have this feature accessible via script, especially when you have to do it on hundreds of layer/files.
Ill mark your reply as the answer as it pretty much answered and gave an alternative.
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
- 835 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 181 Announcement and News
- 939 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 579 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 110 Global Mapper Forum Website

