source: subversion/sites/tile.openstreetmap.org/README @ 5364

Last change on this file since 5364 was 2029, checked in by steve, 13 years ago

add hack tile stuff

File size: 585 bytes
Line 
1this stuff is _extremely_ hacky but it works.
2
3A ruby script (render_some_tiles) is called by cron every 10 minutes or whatever
4it calls another script to get some tiles from a db
5it pipes those in to a python script to render them
6the python script then calls a ruby script to insert them back in to the db
7
8feel free to rewrite all of this in to one python script
9
10the db has a 'dirty' attribute which is turned true if the tile doesnt exist or is older than a week by the script which serves out tiles (cat_tile.rb). The other scripts grab a 1000 tiles at a time and render them.
11
12
Note: See TracBrowser for help on using the repository browser.