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.
 
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 0x107338300>
float_pat = <_sre.SRE_Pattern object at 0x1064141f0>
pi = 3.1415926535897931