| |
- 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).
|