How can load las data and treat elevation as depht using sripting langauge?
Hello every body,
I'll try to load ".las" data and treat elevatios as depht (Mutiply by -1) using scripting language. i'm not able to do it.
i tried by the following function but it didn't work:
IMPORT FILENAME="......" ALT_MODE="DEPHT"
Thanks,
I'll try to load ".las" data and treat elevatios as depht (Mutiply by -1) using scripting language. i'm not able to do it.
i tried by the following function but it didn't work:
IMPORT FILENAME="......" ALT_MODE="DEPHT"
Thanks,
Answers
-
Hi DANBRI,
It looks like your parameter is not spelled correctly. It should be: IMPORT FILENAME="......" ALT_MODE="DEPTH". Give that a try and report back if it doesn't work.
Best regards,
~Jeff -
Hi Jeff
I already tried with this parameter, it doesn't work...... ALT_MODE="DEPTH"
Thanks -
Hello,
If you want Global Mapper to treat the elevations as depth, you will need to set the elevation scale to -1. ALT_MODE governs how the 3D Viewer treats the data. You need to use ELEV_SCALE to modify the values. Something like this should work:ALT_MODE="ABSOLUTE" ELEV_SCALE="-1.0"
In general, the best way to figure out how to code an IMPORT statement is to load your data into Global Mapper, modify the options so that your data is represented as you want it (in this case, use the Alter Elevations tab to set the elevation scale to -1), and then save a workspace. The workspace is a script, so you can look at it in a text editor and copy the IMPORT statement.
Cheers,
Bob -
Hello Mr.bmg_bobI tested this option, it worked wellthank you for your help
Best regards
DANBRI
Categories
- 12.9K All Categories
- 5.8K Features Discussion
- 349 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 651 GM Script Language
- 55 User Scripts
- 115 GPS Features
- 420 Projection Questions
- 834 Raster Data
- 1.4K Vector Data
- 6.6K Support
- 181 Announcement and News
- 935 Bug Report
- 561 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 578 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 109 Global Mapper Forum Website


