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,

Best Answer

  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,161
    Answer ✓
    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
    DANBRI

Answers

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

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

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

    DANBRI
Sign In or Register to comment.