World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 03-25-2010, 12:36 AM   #1
mjohnson
Junior Member
 
Join Date: Mar 2010
Posts: 1
mjohnson is on a distinguished road
Default programatically adding USGS Digital Ortho

Hello,

I am trying to access the USGS Digital Ortho in my Java application using WW Java SDK version worldwind-0.6.317.12858 on a Windows XP machine. I have a WolrdWindGLCanvas and ask for the layers as follows:

WorldWindowGLCanvas wwCanvas = new WorldWindowGLCanvas();
LayerList layers = wwCanvas.getModel().getLayers();

I see only the following layers:

layer = Stars
layer = Atmosphere
layer = NASA Blue Marble Image
layer = Blue Marble (WMS) 2004
layer = i-cubed Landsat
layer = USDA NAIP
layer = MS Virtual Earth Aerial
layer = USGS Urban Area Ortho
layer = Place Names
layer = World Map
layer = Scale bar
layer = Compass

I see the worldwind.layers.xml does not have USGS Digital Ortho. Is this the problem? What do I add to get it?

If not, How can I add USGS Digital Ortho?

Thanks
mjohnson is offline   Reply With Quote
Old 03-29-2010, 08:31 PM   #2
dcollins
WWJ Dev. Team
 
Join Date: May 2007
Posts: 449
dcollins is on a distinguished road
Default

Yes, as you suspect the best way to to display the USGS Digital Ortho layer in your application's default layer list is to add it to worldwind.layers.xml. Add the following Layer element after the element for USGS Urban Area Ortho:

Code:
<Layer href="config/Earth/USGSDigitalOrthoLayer.xml" title="USGS Digital Ortho" actuate="onRequest"/>
Thanks,
Dave
dcollins is offline   Reply With Quote
Old 04-05-2010, 09:16 PM   #3
Unregistered
Guest
 
Posts: n/a
Default

Thanks! That worked
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
USGS Digital Ortho = KH-11 spy satellite data? harbon WorldWind General 3 07-07-2007 10:55 PM
Storing/Accessing USGS Digital Ortho Guest Technical Support 10 10-29-2005 07:03 PM
Trouble with USGS Digital 1m ortho ForestLee Technical Support 1 08-03-2005 02:50 PM
The Nazca Plains - USGS Digital Ortho Matt Suggestion Box 3 06-05-2005 04:20 PM
USGS Digital Ortho "waterfall" baf Bug Reports 6 04-07-2005 05:50 AM


All times are GMT +1. The time now is 10:46 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.