/usr/share/doc/tilestache/html/tilestache-seed.html is in tilestache 1.49.8-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | <!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module tilestache-seed</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>tilestache-seed</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a></font></td></tr></table>
<p><tt>tilestache-seed.py will warm your cache.<br>
<br>
This script is intended to be run directly. This example seeds the area around<br>
West Oakland (<a href="http://sta.mn/ck">http://sta.mn/ck</a>) in the "osm" layer, for zoom levels 12-15:<br>
<br>
tilestache-seed.py -c ./config.json -l osm -b 37.79 -122.35 37.83 -122.25 -e png 12 13 14 15<br>
<br>
See `tilestache-seed.py --help` for more information.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt><a name="-generateCoordinates"><strong>generateCoordinates</strong></a>(ul, lr, zooms, padding)</dt><dd><tt>Generate a stream of (offset, count, coordinate) tuples for seeding.<br>
<br>
Flood-fill coordinates based on two corners, a list of zooms and padding.</tt></dd></dl>
<dl><dt><a name="-listCoordinates"><strong>listCoordinates</strong></a>(filename)</dt><dd><tt>Generate a stream of (offset, count, coordinate) tuples for seeding.<br>
<br>
Read coordinates from a file with one Z/X/Y coordinate per line.</tt></dd></dl>
<dl><dt><a name="-parseConfigfile"><strong>parseConfigfile</strong></a>(configpath)</dt><dd><tt>Parse a configuration file and return a raw dictionary and dirpath.<br>
<br>
Return value can be passed to TileStache.Config.buildConfiguration().</tt></dd></dl>
<dl><dt><a name="-tilesetCoordinates"><strong>tilesetCoordinates</strong></a>(filename)</dt><dd><tt>Generate a stream of (offset, count, coordinate) tuples for seeding.<br>
<br>
Read coordinates from an MBTiles tileset filename.</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
<td width="100%"><strong>defaults</strong> = {'bbox': (37.777000000000001, -122.352, 37.838999999999999, -122.226), 'enable_retries': False, 'padding': 0, 'verbose': True}<br>
<strong>parser</strong> = <optparse.OptionParser instance at 0x106489998><br>
<strong>path</strong> = ['.', '/System/Library/Frameworks/Python.framework/Versions/2.6/bin', '/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.6', '/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.6/site-packages', '/Library/Python/2.6/site-packages/ModestMaps', '/Library/Python/2.6/site-packages/numpy-1.5.1-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/BlobDetector-1.0.0-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/bson-0.3.2-py2.6.egg', '/Library/Python/2.6/site-packages/pytz-2011d-py2.6.egg', '/Library/Python/2.6/site-packages/PyAMF-0.6.1-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/pystache-0.3.1-py2.6.egg', '/Library/Python/2.6/site-packages/chardet-1.0.1-py2.6.egg', '/Library/Python/2.6/site-packages/pyproj-1.8.9-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/OAM-0.1-py2.6.egg', '/Library/Python/2.6/site-packages/encutils-0.9-py2.6.egg', '/Library/Python/2.6/site-packages/cssutils-0.9.8a1-py2.6.egg', '/Library/Python/2.6/site-packages/Shapely-1.2.10-py2.6.egg', '/Library/Python/2.6/site-packages/python_twitter-0.8.2-py2.6.egg', '/Library/Python/2.6/site-packages/oauth2-1.5.170-py2.6.egg', '/Library/Python/2.6/site-packages/simplejson-2.1.6-py2.6.egg', ...]<br>
<strong>stderr</strong> = <open file '<stderr>', mode 'w' at 0x100416140></td></tr></table>
</body></html>
|