I want to use the QGIS Map Composer with Python to automatically generate maps. As a base map of these maps I want to use tiles generated with Mapnik. Currently I am serving the tiles with mod_tile just like the regular osm tiles. I know I can simply use my url of my tiles in QGIS, but the quality of the tiles is made for web maps, and I need higher resolution. So my question is, if it is possible to somehow export a georeferenced image with Mapnik to use it in the QGIS Map Composer. Or if there is an other way to create some sort of high resolution tile with Mapnik and use it in QGIS?
You can also use Nik4 with
The problem you can not resolve easily is that all features in the tiles are rendered with a defined size in pixel.
You could zoom in, make a snapshot of the mapnik tiles and use them with the QGIS Map composer of your original zoom level. But then all labels will get unreadable small.
So you need to create a separate high-res style for Mapnik first.
Alternatively, you can use nik2img.py to create a single picture with a world file using the -w option.
Or you can use taho exe if you are on Windows:
It can create a world file (only in EPSG:3395) too. You can change the configuration to use local tiles (and it has English menues as well under