/pymapnik3

Python bindings for the mapnik engine

Primary LanguageC++GNU Lesser General Public License v2.1LGPL-2.1

pymapnik3

Python 3.x bindings for the mapnik map-rendering engine.

Currently in development and not ready for use. Contributions welcome.

Goals

  • Easy, reliable build.
  • No magic code -- all simple, straightforward, readable.
  • Support Mapnik 3.1.
  • Support Python 3, but not 2.
  • Similar API to python-mapnik.
  • Support what's needed by fhdb plus TextSymbolizer and ShieldSymbolizer.

Outstanding work

  • RasterSymbolizer doesn't do anything.
  • Need to detect mapnik exceptions and handle them.
  • Build system needs to automatically detect whether or not to define BIGINT.
  • setup.py has lots of hard-coded paths.
  • Needs documentation to show how to use the bindings.
  • Implement CSV data source.

How to build

pip3 install .