[OSM-dev] Low-zoom tiles - new script to create them

OJW streetmap at blibbleblobble.co.uk
Sun Dec 31 16:53:03 GMT 2006


There's a tool on SVN to create low-zoom tiles:

http://trac.openstreetmap.org/browser/utils/tilesAtHome/tools/lowzoom

That accepts x,y,z of the tile you want to create, and "maxZ" which is the 
zoom level of the tiles you want to download and stitch together to create 
your x,y,z tile 

(maxZ > Z)

e.g. if you create a zoom-7 tile using zoom-12 tiles (lowzoom.pl x y 7 12), it 
will download 1024 tiles, and generate everything from z=7 to z=11 in that 
area.

once it's done, it will move the new tiles to another directory - the idea is 
that you move these new tiles to the same upload area  as tilesgen uses, then 
use your existing upload.pl setup to upload them.  (same passwords etc. - 
it's just a normal tile upload that happens to have been created by a 
different tool)

Regards

OJW


p.s. the next step is for someone to modify the script so that when tile x,y,z 
changes, it updates all the other tiles that contain it (replacing a quarter 
of z-1, a sixteenth of z-2, etc.) without replacing any unchanged image areas




More information about the dev mailing list