![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
Here is a very first shot at a WW 'layer loader' for WWJ. It can create tiled image layers from a World Wind XML layer definition. No WMS yet.
![]() Geocover 2000 in WWJ This very first version only supports layers with a ImageTileService definition node - no support for WMS. I tested it with a copy of @Images.tmp. This should work for ZoomIt too. I'm not sure WWJ supports WMS yet... It works, but the download seems hazardous... not sure if WWJ struggles or the servers are slow. ![]() Last edited by patmurris; 05-23-2007 at 07:23 AM. |
|
|
|
|
|
#2 |
|
Cosmic Overlord
Join Date: Oct 2004
Location: United Kingdom
Posts: 2,362
![]() |
Sweet, looks like the first WWC Java client may well be completly coded by you
![]() |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: May 2007
Posts: 1
![]() |
If you look at PoliticalBoundaries.java, you'll see the code for adding a WMS. Here's a shaded SRTM layer from our server.
![]() The code uses parameters for a WMS 1.1.1, but it lacks the "version=1.1.1" parameter, which can confuse a WMS. This can cause a bunch of tiles with inimage errors to be downloaded. Speaking of which, does anyone know how to clean or flush the tile cache in WWJ, or where its written? |
|
|
|
|
|
#4 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
Very good hint for WMS... i'll look into it right away
![]() There is some urlBuilder code for WMS in this thread posted by vash. The cache on windows is in C:\Documents and Settings\All Users\Application Data\WorldWindData Last edited by patmurris; 05-23-2007 at 07:54 PM. |
|
|
|
|
|
#5 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
Here is version 0.2 of the WW XML Layer 'loader'. With WMS support.
![]() France BRGM geology layers from a WMS server - this would need some shading ![]() So far it works fine, but i'm not sure which wms arguments are requiered and when, so it may not fit all servers... and layer are loading too soon - i have to figure out the number of 'empty levels'. ![]() |
|
|
|
|
|
#6 |
|
Member
Join Date: Feb 2006
Posts: 35
![]() |
I am not sure if I am following here. Does this mean it can load tiles from WW cache pack for offline use? I remember reading somewhere the tile format is slightly different.
|
|
|
|
|
|
#7 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
Not exactly. It allows WWJ to connect to the various servers and layersets that are described in WW xml config files used with the actual .net version.
The cache packs are another problem that has been raised - WWJ use a different naming convention like 1-1.dds instead of 0001-0001.dds for the cache. Last edited by patmurris; 05-31-2007 at 09:11 AM. |
|
|
|
|
|
#8 | |
|
Member
Join Date: Feb 2006
Posts: 35
![]() |
Quote:
Am I right to say that if we can do some kind of conversion to the filename just before the file is being loaded into memory i.e. converting a 1-1.dds to 0001-0001.dds, we can make use of our existing cache? |
|
|
|
|
|
|
#9 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
There may be several ways to achieve some kind of cache compatibility. I havent looked into it yet. The problem may be to do it from 'outside' the core... not sure.
One way or an other, i cant imagine WWJ ignoring terabytes of existing WW cache - and the corresponding bandwidth/server load. Last edited by patmurris; 05-31-2007 at 11:58 PM. |
|
|
|
![]() |
| 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 |
| Dissolve Image Layers on Zoom In | webbhead | Suggestion Box | 0 | 08-17-2006 01:34 AM |
| DDS private image layers | pcoilland | Bug Reports | 1 | 04-25-2005 01:10 PM |
| The New Zealand Layers: The LINZ Data as Layers | canosso | Add-ons & Scripts | 8 | 04-25-2005 02:03 AM |
| problem with image not loading | edolen1 | Bug Reports | 4 | 03-27-2005 08:58 PM |
| Add image layers to World Wind Mars | joosthoek | Add-ons & Scripts | 4 | 03-02-2005 08:06 PM |