[Tilesathome] Layerupload

Axel Marquette axelmarquette at gmail.com
Sun Jan 27 13:54:29 GMT 2008


Hello,

I have little knowledge in coding so please forgive me for not proposing 
a"coded" counterpart to this observation.

If you use ForForUpload=1 with LayerUpload=0, when a tileset finishes, 
the client downloads the next tileset data while uploading the previous 
tileset, and starts working on the new tileset -- which is pretty much 
fine.

But LayerUpload=1 could be use to further improve the use of ressources 
by starting the upload of a layer a soon as it's finished. The thing is, 
if you use LayerUpload=1, the first layer (default) will start uploading 
while the second (maplint) is being rendered, but when maplint is done, 
instead of downloading the next tileset data and working on it while 
finishing the uploads of the previous tileset, the client sits and waits 
for both previous uploads to be finished before downloading and working 
on the next tileset.

This dimishes the usefulness of LayerUpload=1. The optimized behaviour 
should be the upload of the first layer while finishing the second 
layer, and when second layer is done and queues for upload, download and 
start working on next tileset.

Overall this is not really an important issue, but can reduce waiting 
times for uploads to finish especially after the rendering of data-heavy 
tilesets (big cities).

Greetings, Axel M.




More information about the Tilesathome mailing list