/usr/share/doc/tilestache/html/TileStache.Goodies.VecTiles.geojson.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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | <!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module TileStache.Goodies.VecTiles.geojson</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><a href="TileStache.html"><font color="#ffffff">TileStache</font></a>.<a href="TileStache.Goodies.html"><font color="#ffffff">Goodies</font></a>.<a href="TileStache.Goodies.VecTiles.html"><font color="#ffffff">VecTiles</font></a>.geojson</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></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="json.html">json</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><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="-ceil"><strong>ceil</strong></a>(...)</dt><dd><tt><a href="#-ceil">ceil</a>(x)<br>
<br>
Return the ceiling of x as a float.<br>
This is the smallest integral value >= x.</tt></dd></dl>
<dl><dt><a name="-decode"><strong>decode</strong></a>(file)</dt><dd><tt>Decode a GeoJSON file into a list of (WKB, property dict) features.<br>
<br>
Result can be passed directly to mapnik.PythonDatasource.wkb_features().</tt></dd></dl>
<dl><dt><a name="-encode"><strong>encode</strong></a>(file, features, zoom, is_clipped)</dt><dd><tt>Encode a list of (WKB, property dict) features into a GeoJSON stream.<br>
<br>
Also accept three-element tuples as features: (WKB, property dict, id).<br>
<br>
Geometries in the features list are assumed to be unprojected lon, lats.<br>
Floating point precision in the output is truncated to six digits.</tt></dd></dl>
<dl><dt><a name="-get_tiles"><strong>get_tiles</strong></a>(names, config, coord)</dt><dd><tt>Retrieve a list of named GeoJSON layer tiles from a TileStache config.<br>
<br>
Check integrity and compatibility of each, looking at known layers,<br>
correct JSON mime-types and "FeatureCollection" in the type attributes.</tt></dd></dl>
<dl><dt><a name="-log"><strong>log</strong></a>(...)</dt><dd><tt><a href="#-log">log</a>(x[, base]) -> the logarithm of x to the given base.<br>
If the base not specified, returns the natural logarithm (base e) of x.</tt></dd></dl>
<dl><dt><a name="-mercator"><strong>mercator</strong></a>((x, y))</dt><dd><tt>Project an (x, y) tuple to spherical mercator.</tt></dd></dl>
<dl><dt><a name="-merge"><strong>merge</strong></a>(file, names, config, coord)</dt><dd><tt>Retrieve a list of GeoJSON tile responses and merge them into one.<br>
<br>
<a href="#-get_tiles">get_tiles</a>() retrieves data and performs basic integrity checks.</tt></dd></dl>
<dl><dt><a name="-tan"><strong>tan</strong></a>(...)</dt><dd><tt><a href="#-tan">tan</a>(x)<br>
<br>
Return the tangent of x (measured in radians).</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>charfloat_pat</strong> = <_sre.SRE_Pattern object at 0x10732e3f0><br>
<strong>float_pat</strong> = <_sre.SRE_Pattern object at 0x1064142d0><br>
<strong>pi</strong> = 3.1415926535897931<br>
<strong>precisions</strong> = [2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, ...]<br>
<strong>zoom</strong> = 22</td></tr></table>
</body></html>
|