Missing elevation #2450
-
Is there a way to tell when, for example, querying the elevation for a location from osgEarth whether a elevation file actually exists for that location? If not, other options? Hmmm, maybe I can grab the extents of each elevation file if they are available after I load them? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
I may have found an answer. It seems that if no elevation files exists, ElevationQuery::getElevation() returns the out_actualResolution as 0.0. It seems when at least one elevation file exists, but the point being queries is outside of the elevation file, out_actualResolution is returned as 5.8064517974853516 |
Beta Was this translation helpful? Give feedback.
I may have found an answer. It seems that if no elevation files exists, ElevationQuery::getElevation() returns the out_actualResolution as 0.0. It seems when at least one elevation file exists, but the point being queries is outside of the elevation file, out_actualResolution is returned as 5.8064517974853516