https://github.com/larsga/pymapnik3
Python bindings for the mapnik engine
https://github.com/larsga/pymapnik3
beautiful-maps cartography gis mapnik mapping python
Last synced: about 1 month ago
JSON representation
Python bindings for the mapnik engine
- Host: GitHub
- URL: https://github.com/larsga/pymapnik3
- Owner: larsga
- License: lgpl-2.1
- Created: 2023-01-02T20:47:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-21T10:58:30.000Z (over 1 year ago)
- Last Synced: 2025-02-21T11:44:58.058Z (over 1 year ago)
- Topics: beautiful-maps, cartography, gis, mapnik, mapping, python
- Language: C++
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pymapnik3
Python 3.x bindings for the [mapnik](https://github.com/mapnik/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](https://github.com/mapnik/python-mapnik).
* Support what's needed by [fhdb](https://github.com/larsga/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 .`