ossimlabs / ossim

Core OSSIM (Open Source Software Image Map) package including C++ code for OSSIM library, command-line applications, tests, and build system
MIT License
295 stars 142 forks source link

Drb 20200909 #260

Closed dburken closed 3 years ago

dburken commented 3 years ago

Garrett, This will break any ossim-batch-test that does an "ossim-info --height". Old code could potentially give you the wrong geoid offset, i.e. use the wrong geoid from the top of the geoid registry. I know you could just do HOE-HML to get that but also wanted to see the geoid name the database was using. New output looks like this:

$ ossim-info --height 27.84 -80.55 elevation.info.cell: /data1/elevation/srtm/1arc/N27W081.hgt elevation.info.gpt: (27.84,-80.55,0,WGE) elevation.info.geoid_name: geoid1996 elevation.info.geoid_offset: -29.4277200012207 elevation.info.height_above_msl: 12.0000000000006 elevation.info.height_above_ellipsoid: -17.4277200012201