[Tilesathome] lowzoom produces ugly tiles

Dirk Stöcker openstreetmap at dstoecker.de
Mon Dec 8 17:09:14 GMT 2008


On Mon, 8 Dec 2008, Rene Wunderlich wrote:

>> I've seen similar effects before Dirk fixed the imagemagick bug. After that it
>> seems to have vanished. I will try some version combinations of renderer and
>> imagemagick. Do you use stable or unstable branch?
>
> i use the threaded branch and work on him ;) i added over the weakend the
> lowzoom mod (to the thraeded support) and have many tests runned ;)

I do not understand the threading code totally, but to me it seems you 
have no check to ensure that a image is downloaded completely before the 
stitching starts.

There are two ways to download images:
a) The base loop
b) The getfile call in the lowzoom function.

In case b) the image is directly used after the function call. But also in 
case a) there may be conflicts when accessing an image downloaded 
the same time (Maybe there are conflicts also in not threaded code in case 
of parallel download).

Probably downloading should use a temporary filename and only copy the 
image when really finished.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the Tilesathome mailing list