Wrong values from TerrainProfile

classic Classic list List threaded Threaded
1 message Options
Tension Tension
Reply | Threaded
Open this post in threaded view

Wrong values from TerrainProfile


I have a problem with TerrainProfile since 3.0, looks like it doesn't work correctly even with terrainprofile example (returns some random values).
So i did some research and it's looks like it doesn't work properly because of TerrainEngineNode sets NULL to EllipsoidModel in setMap method. Actually, it's set to NULL in 2 lines in this method, one with projected SRS, and another with geographic (even with comment about projected mode), and my SRS is not projected.

And i found workaround that works for me:

Is it intended?

osgEarth 3.1 + osg 3.6.5