source: subversion/ @ 2176

Last change on this file since 2176 was 2029, checked in by steve, 14 years ago

add hack tile stuff

File size: 585 bytes
1this stuff is _extremely_ hacky but it works.
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
8feel free to rewrite all of this in to one python script
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.
Note: See TracBrowser for help on using the repository browser.