python-mapnik
python-mapnik copied to clipboard
Python bindings for mapnik
Hi! I need help! I try to check correct of installation, but get error back: `mapnik-config -v` `3.1.0` `mapnik-config --input-plugins` `/usr/local/lib/mapnik/input` in next step I get error: `python3 -c "import...
hi, i'm trying to install python bindings to mapnik 3.1.0 on mac os big sur 11.2.2. I didn't understand how to use https://github.com/mapnik/python-mapnik. i follow the instructions on https://github.com/mapnik/mapnik/wiki/GettingStartedInPython and...
It has been more than two years since the previous version was released. Is there a plan to release a new version
Hi, I am using the `generate_image.py` script from the `mapnik-stylesheets` repo as I would like to generate some image files for printing. I opened an [issue](https://github.com/openstreetmap/mapnik-stylesheets/issues/28) there, too, but I...
Allow pkg-config to detect flags for either: - `py3cairo`, or - `pycairo` The previous method of always using `sys.exec_prefix` to locate pycairo headers is insufficient on systems where Python and...
I'm switching from Python 2.7 to Python 3.6, building from the same v3.0.x branch against Mapnik 3.0.19. The Python 3 bindings do compile and run, but somehow they're missing almost...
when I run python demo, an error like that: File "rundemo.py", line 58, in provpoly_lyr.datasource = mapnik.Shapefile(file=path.join(root,'../data/boundaries'), encoding='latin1') File "/usr/local/lib/python2.7/dist-packages/mapnik-0.1-py2.7-linux-x86_64.egg/mapnik/init.py", line 370, in Shapefile return CreateDatasource(keywords) TypeError: No to_python (by-value)...
```python3 setup.py install``` Getting these errors compiling on the v3.0.x branch with Python 3.7, `mapnik-config --version` is 3.0.22 ``` In file included from src/mapnik_feature.cpp:43: In file included from /usr/local/include/mapnik/json/feature_parser.hpp:28: In...
This updates README.md with detailed and well tested instructions for compiling `python-mapnik` on MacOS Catalina systems using the very common homebrew packages. This is a surprisingly difficult task as of...
```bash c++ -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.8 -c src/mapnik_feature.cpp -o build/temp.linux-x86_64-3.8/src/mapnik_feature.o -I/usr/local/include -I/usr/local/include/mapnik/agg -I/usr/local/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/postgresql -I/usr/include/gdal -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT...