Hi,

Sewell, Kenneth R Civ USAF AFMC AFRL/RYZW wrote:
what OS are you using? What version of GDAL? On Linux I've not had a
problem reading .dt? files.

OpenSuSE Linux 11.0, VPB rev 953, OSG 2.8.0 and GDAL 1.6.0.  I'm not
sure how it's working for you if you're using the version of VPB that
checks extensions.  Did you modify GDAL to report the .dt? file
extensions?

You are right, I must have used an earlier version of vpb that did read my files (I have a working DB with the input data as DTED). The newest VPB ignores my .dt2 files.

jp


Ken


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
[email protected]
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-
openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to