[OSM-dev] default Mapnik tile directory

Andy Allan gravitystorm at gmail.com
Sat Dec 8 01:10:32 GMT 2007


On Dec 7, 2007 9:26 PM, Martijn van Oosterhout <kleptog at gmail.com> wrote:
> On Dec 7, 2007 8:28 PM, Diarmuid Wrenne <dwrenne at yahoo.com> wrote:
> > Where is the code that tells mapnik where to store the tiles and then how
> > does the web server know where to get them
>
> You missed a step. Mapnik renders tiles but does not store them
> itself. You need something that uses it, for example the
> generate_tiles script or TileCache. They each have their own way of
> storing the tiles.

generate_tiles.py is found at
http://svn.openstreetmap.org/applications/rendering/mapnik/generate_tiles.py

The tiles end up in a simple folder hierarchy. The webserver does
nothing fancy - it's the OpenLayers javascript that knows which tiles
need to be fetched to make the map.

Cheers,
Andy




More information about the dev mailing list