python-mapnik icon indicating copy to clipboard operation
python-mapnik copied to clipboard

Python bindings for mapnik

Results 128 python-mapnik issues
Sort by recently updated
recently updated
newest added

I am trying to build the Python bindings for Mapnik 4.0.0 but encountered some issues. Here are the details: NAME="Debian GNU/Linux"/VERSION_ID="11"/Mapnik version: 4.0.0/Python 3.9.2/gcc (Debian 10.2.1-6) 10.2.1 20210110 log: root@62597b7940d4:/home/python-mapnik#...

Hello, I am attempting to install [248003c](https://github.com/mapnik/python-mapnik/commit/248003c9da0de1ec7996cebd007c982f9875f2a3) which is the current version of the master branch. I have mapnik 3.1.0 installed and available on PATH ``` mapnik-config --version 3.1.0 ```...

After the pybind11 change, in src/mapnik_rule.cpp, the `symbols` (and copy_symbols) definitions aren't present. This means that the sample code at https://github.com/mapnik/mapnik/wiki/GettingStartedInPython#create-a-style will fail with `AttributeError: 'mapnik._mapnik.Rule' object has no attribute...

A few patches are required to build with the mapnik (4.0.0+ds-1) Debian package: * https://github.com/mapnik/python-mapnik/pull/274 * https://github.com/mapnik/python-mapnik/pull/275 This worked with mapnik 4.0.0-rc1 and python-mapnik @ https://github.com/mapnik/python-mapnik/commit/5ab32f0209909cc98c26e1d86ce0c8ef29a9bf3d The above two patches...

import mapnik m = mapnik.Map(1024, 768, '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs') mapnik_xml_path = '/usr/share/renderd/example-map/xml/2024_05_20_07_amd.xml' m.srs = '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' mapnik.load_map(m, mapnik_xml_path) bbox = mapnik.Box2d(-122.4,37.8, -122.3, 37.9) m.zoom_to_box(bbox) img = mapnik.Image(1024,...

I think we should add: - [ ] travis job that builds the python bindings in debug mode against the normal `mapnik-latest` mason package - [ ] travis job that...

https://github.com/mapnik/mapnik/issues/2673

The Debian package build executes `python3 setup.py clean` outside the build chroot where the dependencies are not guaranteed to be installed. The build related code should only be executed when...

The CMake buildsystem for Mapnik 4.x doesn't build mapnik-config, pkg-config should be used instead.

This is somewhat related to issue #246: Using mapnik.ProjTransform instead of mapnik.Projection to convert from Lat/Long WGS84 to Google Mercator and back works with both old and new Proj library...