Hi John, I added new supported format query system that should cope with the full range of possible extensions, without the need for hard-wiring, this is now checked into svn trunk. Could you please test it to confirm that it works fine.
Cheers, Robert. On Wed, Mar 18, 2009 at 8:57 AM, John Vidar Larring <[email protected]>wrote: > Hi Robert, > > VPB does not accept DTED files with extension .dt0, .dt1, ..., .dt[n] > and reports: > > Ignoring ../../harris/Elevation/30m_DEM/w116n36.dt2 as it's file > extension is not supported > Ignoring ../../harris/Elevation/10m_DEM/w11500n3600.dt3 as it's file > extension is not supported > > GDAL, however, does not have any problems loading these files. The > issue seems to be that GDAL does not report the .dt[n] extensions via > it's DMD_EXTENSIONS metadata. Hence, I've added these extensions to the > list of extensions supported, but not reported, by GDAL: > > 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"); > addSupportedExtension("dt3", Source::IMAGE | Source::HEIGHT_FIELD, "DTED > Level 3"); > > Changes made to vpb svn version 953. See attachment for complete file. > > Best regards, > John > > This email was Anti Virus checked by Astaro Security Gateway. > http://www.astaro.com > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
