Hi,
what OS are you using? What version of GDAL? On Linux I've not had a
problem reading .dt? files.
jp
Sewell, Kenneth R Civ USAF AFMC AFRL/RYZW wrote:
It seems that VPB (SVN revision 953) won't accept DTED data. Looking at
the VPB code, VPB gets a list of GDAL supported extensions (and adds a
few that GDAL doesn't report). Looking at GDAL, it fails to report the
DTED extensions (.dt0, .dt1, .dt2) via the
GetMetadataItem(DMD_EXTENSIONS) method. The result is VPB reports that
DTED files are not supported. I don't know if the fix belongs in GDAL
or VPB, but as a quick work-around add the following lines to the end of
the VPB System constructor (src/vpb/System.cpp):
addSupportedExtension("dt0", Source::IMAGE | Source::HEIGHT_FIELD, "DTED
Level 0");
addSupportedExtension("dt1", Source::IMAGE | Source::HEIGHT_FIELD, "DTED
Level 1");
addSupportedExtension("dt2", Source::IMAGE | Source::HEIGHT_FIELD, "DTED
Level 2");
Ken.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org