TileStache.Goodies.VecTiles.geojson
index

 
Modules
       
json

 
Functions
       
decode(file)
Decode a GeoJSON file into a list of (WKB, property dict) features.
 
Result can be passed directly to mapnik.PythonDatasource.wkb_features().
encode(file, features)
Encode a list of (WKB, property dict) features into a GeoJSON stream.
 
Also accept three-element tuples as features: (WKB, property dict, id).
 
Geometries in the features list are assumed to be unprojected lon, lats.
Floating point precision in the output is truncated to six digits.
log(...)
log(x[, base]) -> the logarithm of x to the given base.
If the base not specified, returns the natural logarithm (base e) of x.
mercator((x, y))
Project an (x, y) tuple to spherical mercator.
tan(...)
tan(x)
 
Return the tangent of x (measured in radians).

 
Data
        charfloat_pat = <_sre.SRE_Pattern object at 0x1071284e0>
float_pat = <_sre.SRE_Pattern object at 0x1064142d0>
pi = 3.1415926535897931