GMS - Global Mapper 14, offset elevation
LPlateAndy
Global Mapper UserTrusted User
Hi,
I don't suppose there is a script reference for 14 anywhere?
I'm trying to offset my height data (as is possible in the layer "options" "elevation" tab before running an "EQUAL_VAL_AREAS" function.
I've tried CALC_ATTR_FORMULA TYPE="ADD" NEW_ATTR="ELEV_FUDGE" SOURCE_ATTR="ELEVATION" VALUE="10"
and CALC_ATTR TYPE="ADD" NEW_ATTR="ELEV_FUDGE" SOURCE_ATTR="ELEVATION" VALUE="10"
Both just report as those functions are not recognised.
I've also been getting unrecognised for FIX_INVALID="YES" (for the EQUAL_VAL_AREAS) although the output is still fine.
Any help much appreciated
Andy
I don't suppose there is a script reference for 14 anywhere?
I'm trying to offset my height data (as is possible in the layer "options" "elevation" tab before running an "EQUAL_VAL_AREAS" function.
I've tried CALC_ATTR_FORMULA TYPE="ADD" NEW_ATTR="ELEV_FUDGE" SOURCE_ATTR="ELEVATION" VALUE="10"
and CALC_ATTR TYPE="ADD" NEW_ATTR="ELEV_FUDGE" SOURCE_ATTR="ELEVATION" VALUE="10"
Both just report as those functions are not recognised.
I've also been getting unrecognised for FIX_INVALID="YES" (for the EQUAL_VAL_AREAS) although the output is still fine.
Any help much appreciated
Andy
Tagged:
Answers
-
Hi,
This was with the intention of fixing an issue with GENERATE_EQUAL_VAL_AREAS where i was getting negative values showing as seperate areas. As an extreme, i had an area of sea varying between -0.36 and +0.44 and when i ran with "ELEV_DIST" of 10, i was getting circa 10,000 polygons. In the interface i get just one.
Andy
-
I am pretty sure that the CALC_ATTR command was introduced in Global Mapper 14. What error message do you get when you run that command in your script?
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

