![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Dec 2007
Location: Germany, Essen
Posts: 16
![]() |
Hello,
today I noticed that in my application the political boundaries are not displayed anymore. As I haven't changed the code in the past days, I don't know what causes the problem. Any hints? Bye, Sebastian |
|
|
|
|
|
#2 |
|
What?
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
![]() |
Network problem probably.
|
|
|
|
|
|
#3 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,623
![]() |
Do you have the layer listed?
new CountryBoundariesLayer(), Look at JavaOneDemoA.java that sets it to wwd.setModel(new BasicModel()); this does not use the CountryBoundariesLayer Look at JavaOneDemoB.java which does not list the CountryBoundariesLayer Not knowing how your app is set up it is hard to tell why it is not showing up if it was before. If your app is set up similar to JavaOneDemoB.java then just add the line: new CountryBoundariesLayer(), edit: If it was a network problem it seems the boundaries that were downloaded when your app was working before should be in your cache and at least those should show up. Last edited by nlneilson; 01-27-2008 at 05:29 PM. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Dec 2007
Location: Germany, Essen
Posts: 16
![]() |
Network problems on my side? If that's the case, then I shouldn't receive any data - right? But beside the political boundaries everything else works fine (as far as I know).
Here's there code that used to work in the past: myCountryBoundariesLayer = new CountryBoundariesLayer(); myCountryBoundariesLayer.setEnabled(true ); insertBeforeCompass(getWwd(), myCountryBoundariesLayer); Sebastian Last edited by sebastian_b; 01-27-2008 at 05:36 PM. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Dec 2007
Location: Germany, Essen
Posts: 16
![]() |
@nlneilson:
I add the line "new CountryBoundariesLayer()" in JavaOneDemoB but unfortunately without success. One possible reason is, that I'm working on another computer now (the harddisk in my laptop crashed). But everything else works fine. Sebastian |
|
|
|
|
|
#6 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,623
![]() |
Open JavaOneDemoB.java and add the line:
new CountryBoundariesLayer(), If this shows the Boundaries then you will need to debug you app to see why yours is not showing the layer. Does the check box for turning the layer off and on show up? edit: I posted this before your last post showed up. The WWJ SDK DemoB with the line added should work. You may need to re-install on the new hard drive. Last edited by nlneilson; 01-27-2008 at 06:32 PM. |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Dec 2007
Location: Germany, Essen
Posts: 16
![]() |
If I understand the class CountryBoundariesLayer correct, then the application tries to receive the data from an URL like this: http://worldwind21.arc.nasa.gov/geos...ansparent=true
If I copy this link in my browser I got an error message (can't connect to the server). Maybe that's the problem? CU, Sebastian |
|
|
|
|
|
#8 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,623
![]() |
He is probably right there is a problem with the server at worldwind21.arc.nasa.gov.
I get this error: can't establish a connection to the server at worldwind21.arc.nasa.gov. worldwind25.arc.nasa.gov that has many of the other tiles is OK. Look in the cache on the computer you are now using, there are probably no files in the Boundaries so none will display until the server for worldwind21.arc.nasa.gov. is working so the tiles can be downloaded. |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Dec 2007
Location: Germany, Essen
Posts: 16
![]() |
Any information when the server will be back online?
|
|
|
|
|
|
#10 |
|
WWJ Technical Manager
Join Date: May 2007
Location: Seattle
Posts: 1,033
![]() |
Change the server called to worldwind25. worldwind21 is now out of commission, and will likely remain so.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Boundaries Set including Administrative Areas | mazop | Add-ons & Scripts | 12 | 10-02-2008 06:14 AM |
| historical political boundaries | nittyG | Developers' Corner | 6 | 01-26-2008 07:13 AM |
| Political Boundary Data | rogene | Development Help | 5 | 08-29-2007 06:56 PM |
| Historical Political Boundaries | tushyd | Suggestion Box | 5 | 05-15-2007 09:29 PM |
| World Political Map AddOn | mazop | Add-ons & Scripts | 11 | 04-26-2006 03:52 PM |