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 08-14-2012, 02:09 AM   #1
frostyboy33
Guest
 
Posts: n/a
Default Modify Content of the Toolkit

Hi all,

First time poster so please be nice. apologies if I have any terminology wrong

I am currently using the WWJ Toolkit embedder in my application.

Now I have got custom terrain that I have built in Global Mapper(GM) and exported as World Wind Tiles. I am able to show these in WW with the WWJ demo application by modifying the src/config/worldwind.layers.xml file and adding my own xml file that GM produces to src/config/Earth/my_xml.xml. so I know that the data is correct and works.

However I am unable to modify the Toolkit that is provided for WWJ, when I modify the worldwind.jar/config/worldwind.layers.xml file no layers at all are shown. I am using 7zip to open with worldwind.jar archive and modifying the worldwindlayers.xml could this be the problem?

So essentially what I am trying to do is display custom terrain that I have built in my application which is using the WWJ Toolkit.

Yes I am aware of WMS servers, I have tried using GEO-server and also Mapserver, but the performance of these servers is very very slow and is not a valid option.

Thanks in advance,

Frosty
  Reply With Quote
Old 08-21-2012, 09:47 PM   #2
heidtmare
Senior Member
 
heidtmare's Avatar
 
Join Date: Feb 2008
Location: Melbourne, FL, USA
Posts: 675
heidtmare is on a distinguished road
Default

dont modify the jar, just set
PHP Code:
System.setProperty("gov.nasa.worldwind.app.config.document""path/to/your/custom/worldwind.xml"); 
heidtmare is offline   Reply With Quote
Reply

Tags
None


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
Word wrap for chinese content on ScreenAnnotation ttramb Development Help 0 02-03-2012 06:27 PM
Modify corners position of a texture zidia Development Help 3 02-11-2009 05:14 PM
Drawing lines etc. with Java AWT Toolkit Morris Feature Discussion 6 01-03-2009 08:01 PM
Peer2peer delivery of Worldwind content dwrenne Developers' Corner 1 09-12-2006 12:46 PM
Why can not modify main menu words? leolin Developers' Corner 2 07-08-2005 04:45 AM


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


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