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
- 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
- 182 Announcement and News
- 942 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.8K Technical Support
- 581 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 245 How I use Global Mapper
- 111 Global Mapper Forum Website


