World Wind Forums

Go Back   World Wind Forums > WorldWind .Net Development > Developers' Corner

Developers' Corner General World Wind development.

Reply
 
Thread Tools Display Modes
Old 03-16-2006, 11:36 PM   #1
kcchesnut
Member
 
Join Date: Apr 2005
Posts: 32
kcchesnut
Default

going to try and add my own image data ... and just need a sanity check before starting. the data i'm going to add-in is from a proprietary tile server. so i can't just add it to the XML configuration. nor do i want to create a server thunking layer. the tiles served come in multiple zoom levels (divisible by 2). so this looks like it fits with the current LevelZeroTileSizeDegrees and NumberLevels setup. i just need to do the degree conversion for the first level. i'm assuming L0TD does not have to start out at 2.25, or some value in that series (e.g. it could be 3.0)? it will also need a bit of UI for configuration. so this has me looking at the BMNG Add-in. looks like i can add to the RenderableObjectList and create my own QuadTileSet. then it looks like i can subclass ImageTileService to return the proprietary image url to retrieve a tile. might have to subclass ImageAccessor too, but haven't looked closely. i'll also have to reproject the tiles at some point.

am i missing something? or is there some other way that i should be attempting this?
kcchesnut is offline   Reply With Quote
Old 03-17-2006, 05:17 AM   #2
kcchesnut
Member
 
Join Date: Apr 2005
Posts: 32
kcchesnut
Default

went ahead and started down this path. so far i've only had to subclass the ImageTileService. i've got tile images displaying, but they're currently in the wrong place and the wrong size, which should just be bugs on my part.

Cheers,
casey
kcchesnut is offline   Reply With Quote
Old 03-17-2006, 03:49 PM   #3
adamhill
Senior Member
 
Join Date: Sep 2004
Posts: 147
adamhill
Default

Correct, the Zoomit data is at 2.8125. That number will control at what altitude the data 'pops' on.

The BMNG data is probably at a LZTD of 22.5.
__________________
Adam Hill - .NET and GIS Guy
Thregecy Inc. ::: TheBigPixel
Hack #24 - World Wind
adamhill is offline   Reply With Quote
Old 03-17-2006, 05:28 PM   #4
Sqr
Guest
 
Posts: n/a
Default

If I understand it good, the Level0TileSize must exactly divide 180, so that there'll be integral number of tiles between 90S-90N and between 180W-180E.
(But it'll also be interesting to try it differently - make a layer bounded by e.g. 15W,65E,23N,83N and L0TS=20deg, and try whether WW will handle it well.)

Btw, L0 tiles of all sorts of BlueMarble have 36 degrees (and the DemisWorldMap even 45deg).

If you use for L0TS some number of the 180,90,45,22.5... sequence, it will make your eventual/later 'step back' easier - if you decide that your layer should be visible sooner (from higher altitude).

http://ceteranet.com/nww-tile-struct.pdf
http://worldwindcentral.com/wiki/Making_Layers
http://worldwindcentral.com/wiki/Lay...vels_Tiles_etc
  Reply With Quote
Old 03-17-2006, 05:32 PM   #5
kcchesnut
Member
 
Join Date: Apr 2005
Posts: 32
kcchesnut
Default

Cool, i didn't know about Zoomit.

i think all the BlueEarth layers come in at 36.
the other installed image layers are 2.25, 2.0, or .8.
kcchesnut 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
WW mentioned in article KoS WorldWind General 5 01-18-2006 04:23 PM
WMS Browser, Adding Your Own Data geodan WorldWind General 4 12-09-2005 02:23 PM
Ugly artifacts in image data overlays jp09 Bug Reports 3 10-26-2005 09:25 AM
Adding user data as an overlay arctica WorldWind General 3 06-18-2005 03:03 PM
adding disease point data beardozer Add-on & Script Development 3 05-24-2005 02:55 AM


All times are GMT +1. The time now is 12:51 PM.


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