python-mapnik
python-mapnik copied to clipboard
Python bindings for mapnik
Hi guys. ` gdal /temp/202008041115/a/aa.img #ffffff,#ffffff,#ffff00 ` When I set the datasource is gdal, the img(erdas) file is true color, but output the tile is gray, I don't konwn the...
Trying to follow the docs for the MASON_BUILD approach. Mostly going ok but hitting compilation issues around recent(last 9 months) changes to mapnik_symbolizer. Doesn't seem to be related to the...
Hi I am compiling a tileserver stack from scratch (on Slackware 14.2, with only python3 installed), testing new versions before updating an old (mostly) working install. Everything has gone well...
When setting `mapnik.logger.set_severity(mapnik.severity_type.Error)` I still see warnings like `Mapnik LOG> 2020-05-10 10:41:58: warning: unable to find face-name 'No Such Font' in FontSet 'fontset1'` being written to `stderr` Only when disabling...
It seams like the old windows tutorial is not up to date anymore. Can someone write a new one?
The v3.0.x branch fails to build with 3.0.23: ``` /usr/include/boost/spirit/home/karma/nonterminal/rule.hpp:230:32: required from 'boost::spirit::karma::rule& boost::spirit::karma::rule::operator=(const Expr&) [with Expr = boost::proto::exprns_::expr; OutputIterator = std::back_insert_iterator; T1 = mapnik::detail::vertex_adapter(); T2 = boost::spirit::unused_type; T3 =...
I am on Windows 10, 64-bit. I have installed mapnik both through npm and through a binary. I have set the environment paths so that I can run `mapnik-config.bat` from...
This ``` import mapnik def mktrans(source, target): source = mapnik.Projection(source) target = mapnik.Projection(target) trans = mapnik.ProjTransform(source, target) return trans.forward box = mapnik.Box2d(-5, 55, 35, 67) source = '+proj=longlat +ellps=WGS84 +datum=WGS84...
Below is a complete, standalone test that uses the Natural Earth world shapefile and places two white dots on it, one at (10, 60) and one at (7, 57). Only...
The following ``` import mapnik ts = mapnik.TextSymbolizer() ts.name = '[name]' ``` fails with ``` Traceback (most recent call last): File "/Users/larsga/tmp/tst.py", line 35, in ts.name = '[name]' File "/usr/local/lib/python2.7/site-packages/mapnik/__init__.py",...