OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

VPB: Additional extensions GDAL supports but does not report via DMD_EXTENSIONS


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Submission
View previous topic :: View next topic  
Author Message
john_larring
User


Joined: 19 Feb 2009
Posts: 40

PostPosted: Wed Mar 18, 2009 8:58 am    Post subject:
VPB: Additional extensions GDAL supports but does not report via DMD_EXTENSIONS
Reply with quote

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


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12321

PostPosted: Tue Mar 24, 2009 9:12 pm    Post subject:
VPB: Additional extensions GDAL supports but does not report via DMD_EXTENSIONS
Reply with quote

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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
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
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org



------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Submission All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts How to add hello world/additional pro... tipking General 3 Mon Jun 12, 2017 10:25 am View latest post
No new posts QVR: Virtual Reality library that sup... marlam General [3rdparty] 2 Thu Nov 10, 2016 9:55 am View latest post
No new posts GDAL plugin hroch Plugins [osgPlugins] 0 Thu May 26, 2016 8:31 am View latest post
No new posts Accessing georegistered images via GD... cbuchner1 General 1 Tue Sep 08, 2015 2:13 pm View latest post
No new posts What is the difference of adding an a... wernerM General 0 Fri Jul 24, 2015 9:13 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP