On Fri, Aug 24, 2012 at 10:44 PM, Chris Hanson <[email protected]> wrote:

> On Fri, Aug 24, 2012 at 8:27 PM, Michael W. Hall <[email protected]> wrote:
>
>> The DTED data I have has the .dt2 extension.  Can osgEarth load that or
>> do you have to modify it somehow?
>>
>
>   This is DTED, level 2. According to GDAL, which osgEarth uses:
> http://www.gdal.org/frmt_dted.html
>
>
Yes, it will read DTED via the GDAL driver. The only catch is that DTED
uses an EGM96 vertical datum. osgEarth supports this, but cannot
automatically read that information from the GDAL driver; so, you have to
manually tell osgEarth about it by overriding the profile for your
elevation layer like so:

<elevation name="height" driver="gdal">
    <url>...</url>
    <profile srs="wgs84" vdatum="egm96"/>
</elevation

The osgEarth forum is a good place to get help specific to the SDK:
http://forum.osgearth.org/

Good luck!

Glenn Waldron / @glennwaldron
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to