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.
 
Flood-fill coordinates based on two corners, a list of zooms and padding.
listCoordinates(filename)
Generate a stream of (offset, count, coordinate) tuples for seeding.
 
Read coordinates from a file with one Z/X/Y coordinate per line.
tilesetCoordinates(filename)
Generate a stream of (offset, count, coordinate) tuples for seeding.
 
Read coordinates from an MBTiles tileset filename.

 
Data
        defaults = {'bbox': (37.777000000000001, -122.352, 37.838999999999999, -122.226), 'enable_retries': False, 'extension': 'png', 'padding': 0, 'verbose': True}
parser = <optparse.OptionParser instance>
path = ['.', '/usr/local/lib/python2.6/dist-packages/gunicorn-0.11.2-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Werkzeug-0.6.2-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/ModestMaps-1.1.0-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Bloch-1.0.1-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Rtree-0.7.0-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/BlobDetector-1.0.0-py2.6-linux-i686.egg', '/usr/local/lib/python2.6/dist-packages/PyAMF-0.6.1-py2.6-linux-i686.egg', '/usr/local/lib/python2.6/dist-packages/bson-0.3.2-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/pytz-2011d-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/python_memcached-1.47-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/boto-2.0b4-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/nik2img-0.7.0-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/TileStache-1.10.6-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/cascadenik-1.0.2-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/cssutils-0.9.8a1-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/virtualenv-1.6-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/GDAL-1.8.0-py2.6-linux-i686.egg', '/usr/local/lib/python2.6/dist-packages/eventlet-0.9.15-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/greenlet-0.3.1-py2.6-linux-i686.egg', ...]
stderr = <open file '<stderr>', mode 'w'>