OpenSfM icon indicating copy to clipboard operation
OpenSfM copied to clipboard

Altitude is negative

Open sbonaime opened this issue 1 year ago • 5 comments

Hi, I found this in log for a specific set. Altitude is negative (-X.XXX) : viewing directions are probably divergent. Using default altitude of 1.0

As Altitude is get from GPS data it maybe it is not a good idea to set it arbitrary to 1.0 Sometimes we can have images taken below GPS Sea level value (https://en.wikipedia.org/wiki/List_of_places_on_land_with_elevations_below_sea_level)

Could it be possible to force (with an option) the found negative altitude ? Thanks

sbonaime avatar May 22 '24 12:05 sbonaime

Proposed pull request to address, keeping it simple: if Z is below Lake Assal, it's probably invalid, but treat as valid otherwise: https://github.com/OpenDroneMap/OpenSfM/pull/32

smathermather avatar May 22 '24 16:05 smathermather

@smathermather I am now using ODM for underwater data ... so maybe we can have an option for real underwater images ?

sbonaime avatar May 22 '24 19:05 sbonaime

This would work for any underwater images above the Afar Depression, but I just realized the Dead Sea is lower. I've changed the proposed value. So, anyone doing underwater images on the Dead Sea will be out of luck, or need to change their version.

This also applies to areas where the geoid is well below the ellipsoid, which is an even longer list than the above. Much of the coast of Tanzania is below sea level on the elipsoid, but the India Ocean hasn't read the map, so folks stay dry enough.

smathermather avatar May 22 '24 19:05 smathermather

@sbonaime -- do you have an example dataset you can share for testing?

smathermather avatar May 22 '24 21:05 smathermather