World Wind Forums

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

Developers' Corner General World Wind development.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-30-2008, 09:37 PM   #11
nlneilson
Super Moderator
 
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,617
nlneilson is on a distinguished road
Default

Good you are taking an interest in this, the download code is one of the main things hanging up the next release. That code has been hacked pretty good, needs to be cleaned up.

You know much more than I do and some of your post is above me. Let me point this out again.
"Don't confuse this with the download queue, that has been hard coded to 2 and the multiple requests need to be blocked before it gets to that queue."
Assume there is only one thread for download, download queue of 1, no problem on the server or client. The multiple requests for the same tile still exists, nothing has been done between GetClosestDownloadRequest() and actually requesting that tile for download to see if it has been requested before. Just a comma delimited list to check if the closest request has been requested before, if it has it will not be sent for download.

I have not looked into how the tiles are determined that are needed. The request probably checks the cache first, if not there then it is sent for download, if there is no tile to be downloaded then the same tile is calculated as being needed, check the cache then requested to be downloaded again, and again, and again, etc. This is like an endless loop, it needs to be stopped.

After the cache is checked that tile can be added to the list so only one attempt will be made for that tile. After the list is filled, whatever length it is set at, the oldest will be bumped. If the image is panned and then returned to the same area again later after the list has been completely changed then the tile will be requested again but you will not have the same tile attempt to download consecutively 20, 50, ??? times.

edit: see the attached .jpg images on posts #1 and #4.

Last edited by nlneilson; 08-31-2008 at 08:10 AM.
nlneilson is offline   Reply With Quote
 


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
Tile Boundary Problem Shadre Development Help 4 04-18-2008 11:20 PM
Calculate Zero Tile for my Country ayman Technical Support 5 02-12-2008 11:21 PM
Creating new Tile Layers WWJ jdorny Development Help 6 10-30-2007 04:26 AM
Combining Cache From Multiple Computors Ken Williams Technical Support 4 08-01-2005 09:49 AM
how to identify tile with missing terrain info dpatton Technical Support 4 03-07-2005 07:19 PM


All times are GMT +1. The time now is 06:03 PM.


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