[Qgis-developer] Script: unable to render map in PDF via python script

Luca Manganelli luca76 at gmail.com
Tue Jul 19 01:14:49 PDT 2016


Hi to everybody,

I tried the script from Kartoza (and that from the first comment):

http://kartoza.com/how-to-create-a-qgis-pdf-report-with-a-few-lines-of-python/

using a simple project with one postgres layer and a  simple qpt print
template (consisting of one map composer item), it produces a PDF with
an empty map.

Can you help me in fixing the script?

I'm trying this with QGIS 2.14.4.


More information about the Qgis-developer mailing list