tilestache-seed
index

tilestache-seed.py will warm your cache.
 
This script is intended to be run directly. This example seeds the area around
West Oakland (http://sta.mn/ck) in the "osm" layer, for zoom levels 12-15:
 
    tilestache-seed.py -c ./config.json -l osm -b 37.79 -122.35 37.83 -122.25 -e png 12 13 14 15
 
See `tilestache-seed.py --help` for more information.

 
Functions
       
generateCoordinates(ul, lr, zooms, padding)
Generate a stream of (offset, count, coordinate) tuples for seeding.

 
Data
        defaults = {'bbox': (37.777000000000001, -122.352, 37.838999999999999, -122.226), 'extension': 'png', 'padding': 0, 'verbose': True}
parser = <optparse.OptionParser instance at 0x8e0e72c>
path = ['.', '/usr/local/lib/python2.6/dist-packages/Flickr.API-0.4.4-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Geohash-1.0rc1-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/docutils-0.6-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/httplib2-0.6.0-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/pysolr-2.0.11-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/nik2img-0.5.7-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/ModestMaps-1.0-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/gevent-0.12.2-py2.6-linux-i686.egg', '/usr/local/lib/python2.6/dist-packages/greenlet-0.3.1-py2.6-linux-i686.egg', '/usr/local/lib/python2.6/dist-packages/oauth2-1.2.0-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/boto-1.9b-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Werkzeug-0.6.2-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/gunicorn-0.12.0-py2.6.egg', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', ...]
stderr = <open file '<stderr>', mode 'w' at 0x401f60c0>