running my own tile.openstreetmap.org like server

hi,

i want to run a windows based webserver which does exactly the same as tile.openstreetmap.org
it should also provide tiles addressed by the url /z/x/y.png, do the caching, update once a week or so.
my problem is, that i have not found all the software, code parts that i need yet.

what i have is:

postgres/postgis
mapnik
python 2.5
osm2psql
some osm data

but what i can not find is the actual webscript for the tile.openstreetmap.org site that makes all the parts work together.

i searched the subversion repository, but there i only found an export script in http://svn.openstreetmap.org/sites/tile.openstreetmap.org/cgi-bin which does something else.

i also could not find any documentation in the wiki on that. http://wiki.openstreetmap.org/wiki/Mapnik
is a good starting point, but it does not answer the question.

has anybody a clue??

thanks!

is mod_tile what i am looking for?

http://wiki.openstreetmap.org/wiki/Mod_tile

Since it’s a webserver, and your browser has to be able to read those documents anyway, can’t you look in the index.html and relevant linked .js files yourself?

@Ldp i’m sorry but i didn’t get your point. i am not talking of the slippy map and on tile.openstreetmap.org there is no javascript involved.

So you only want to serve the tiles. For that you would need, for example, mod tile indeed :slight_smile:

or openlayers