tilestache-clean
index

tilestache-clean.py will flush your cache.
 
This script is intended to be run directly. This example cleans the area around
West Oakland (http://sta.mn/ck) in the "osm" layer, for zoom levels 12-15:
 
    tilestache-clean.py -c ./config.json -l osm -b 37.79 -122.35 37.83 -122.25 -e png 12 13 14 15
 
See `tilestache-clean.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.

 
Data
        defaults = {'bbox': (37.777, -122.352, 37.839, -122.226), 'extension': 'png', 'padding': 0, 'verbose': True}
parser = <optparse.OptionParser instance>
path = ['.', '/usr/local/lib/python2.7/dist-packages/requests-0.11.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/certifi-0.0.8-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/encutils-0.9-py2.7.egg', '/usr/lib/python2.7/dist-packages/PIL', '/usr/local/lib/python2.7/dist-packages/cascadenik-2.0.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/bson-0.3.3-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7']
stderr = <open file '<stderr>', mode 'w'>