logo       

[OSM-dev] Low-zoom tiles - new script to create them: msg#00135

gis.openstreetmap.devel

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

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise