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: 


Best Answer

  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,264
    Answer ✓

    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:
    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.



  • JeffH@BMGJeffH@BMG Global Mapper Developer Posts: 337Trusted User
    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,

  • DANBRIDANBRI Posts: 24
    Hi Jeff
    I already tried with this parameter, it doesn't work...... ALT_MODE="DEPTH"
  • DANBRIDANBRI Posts: 24
    Hello Mr.bmg_bob

    I tested this option, it worked well
    thank you for your help
     Best regards

Sign In or Register to comment.