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 06-11-2007, 09:43 PM   #1
hsvmoon
Junior Member
 
Join Date: Jun 2007
Posts: 7
hsvmoon is on a distinguished road
Default Cache packs

How do I take advantage of a LAN cache server? The java doc is a bit incomplete as if now on this issue.
hsvmoon is offline   Reply With Quote
Old 06-11-2007, 10:08 PM   #2
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
patmurris is an unknown quantity at this point
Default

WW cache packs may be out of reach with the actual WWJ early release 0.2 because of a different naming convention for files in the cache (1_1.dds instead of 0001_0001.dds).

I dont know if/how this issue will be addressed or when.

But maybe this is beside your question about a LAN cache server ?
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 06-11-2007, 11:21 PM   #3
pangloss
Senior Member
 
Join Date: Apr 2005
Posts: 220
pangloss is an unknown quantity at this point
Default

So nothing with tiles from ww.net will work on ww.java?
pangloss is offline   Reply With Quote
Old 06-12-2007, 12:16 AM   #4
bull
Cosmic Overlord
 
bull's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 2,362
bull is an unknown quantity at this point
Default

Pretty easy to make a script or bat to rename the files, on windows it make take a while though.
bull is offline   Reply With Quote
Old 06-12-2007, 12:24 AM   #5
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
withak
Default

Quote:
Originally Posted by pangloss View Post
So nothing with tiles from ww.net will work on ww.java?
Not right now. It would be pretty trivial to fix though.
withak is offline   Reply With Quote
Old 06-12-2007, 02:29 PM   #6
hsvmoon
Junior Member
 
Join Date: Jun 2007
Posts: 7
hsvmoon is on a distinguished road
Default

What I would really like to do is download some of the cache packs an unpack them. Then use apache to serve the files over the LAN. We have a gigabit LAN service and this should dramatically improve the load times for the detailed layers. It seems like all I should have to do is modify the URL in the HTTPRetriever for the given layer, but I am not sure how to do this. Renaming the flies is not a big deal, but I might not what to invest the time if the convention is going to change and break compatibility.
hsvmoon is offline   Reply With Quote
Old 06-12-2007, 02:35 PM   #7
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
withak
Default

Just change the server address to whatever your local server is. There is an example tile server written in python floating around somewhere, but all you have to do is take the dataset/row/level/col numbers from the request and return the right tile.
withak is offline   Reply With Quote
Old 06-12-2007, 04:21 PM   #8
Guest_Jim_*
Needs a life
 
Join Date: Dec 2005
Posts: 693
Guest_Jim_* is an unknown quantity at this point
Default

I don't really know what I'm talking about, but could the servers just get mapped on the network and then have them deemed the World Wind cache in World Wind Settings? Like I said, I'm not entirely sure about what I'm talking about.
__________________
I don't spread the word, I spread the world!
Road Map for World Wind development and release
I do not know .Net or DirectX.
Guest_Jim_* is offline   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
WorldWindData.com - World Wind Cache Packs f0urtyfive Add-ons & Scripts 152 09-19-2012 07:58 PM
Downloaded Cache packs - Now what? gobbledegeek WorldWind General 1 08-21-2005 01:53 PM
Cache Packs Levels 0 and 1 ! svheuven Add-ons & Scripts 37 06-12-2005 12:39 AM
Official NLT Landsat Cache packs for 1.3.1 f0urtyfive Add-ons & Scripts 27 05-15-2005 06:26 AM
second tier WW data cache packs johnh Developers' Corner 3 02-28-2005 08:53 PM


All times are GMT +1. The time now is 11:13 PM.


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