python-mapnik
python-mapnik copied to clipboard
Python bindings for mapnik
I think we should give a shot to precompiling the boost python headers to speed up python-mapnik compiles. In the past I've tried this for mapnik core (precompiling spirit) but...
Hello, I have used modified versions of python_grid_utils.cpp and python_grid_utils.hpp in a c++ project. I have following questions with regard to copyright notice and license: 1- What should the copyright...
Hi, guys. I have installation problem with python-mapnik Centos 7 mapnik 3.0.17 boost 1.66 clang 5.0 (clang++-5.0) python3.6 setup.py install /usr/local/include/mapnik/geometry/boost_adapters.hpp:52:42: error: no template named 'coord2f' in namespace 'mapnik'; did...
The PDF generation test is failing when run under python 3 with a bytes/string compatibility error: ``` ====================================================================== ERROR: python_tests.pdf_printing_test.test_pdf_printing ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/nose/case.py", line 198,...
Hello, I'm trying to build python-mapnik with `export MASON_BUILD=true` and then `PYCAIRO=true python setup.py install`. However, the build fails with: ``` Missing boost_python boost library, try to add its name...
I build binding on windows using msvc2015. All the dependences were local built using mapbox/windows-builds. When building python binding, i get the error: 2>mapnik_datasource.obj : error LNK2019: 无法解析的外部符号 "class mapnik::datasource...
Hi, I have the following xml file: ``` water-outline water ``` It renders perfectly: ``` merc = Projection('+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over')...
Hello, running this: ``` from mapnik import * t = TextSymbolizer(Expression('[label]'), 'DejaVu Sans Book', 10, Color('black')) ``` I'm not able to get rid of this TextSymbolizer related error. ``` ---------------------------------------------------------------------------...
I cannot see the text appear in mapnik 3  Using mapnik v2.20 works ok  I have tried various combinations of attributes in the styling with...
Moved here from https://github.com/mapnik/mapnik/pull/2006. Idea: if the python datasource was moved into the python bindings, then the datasource object can be constructed in the python script and passed into the...