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
        parser = <optparse.OptionParser instance>
path = ['.', '/usr/local/lib/python2.6/dist-packages/ModestMaps-1.0-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/geojson-1.0.1-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/simplejson-2.1.1-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/nik2img-0.5.7-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/cssutils-0.9.7b3-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/oauth2-1.2.0-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/httplib2-0.6.0-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/feedparser-4.1-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Rtree-0.6.0-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/cascadenik-1.0.1-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', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/pymodules/python2.6', '/usr/lib/pymodules/python2.6/gtk-2.0', ...]
stderr = <open file '<stderr>', mode 'w'>