[Qgis-developer] Render with labels

Anita Graser anitagraser at gmx.at
Sun Oct 5 08:45:03 PDT 2014


Hi,

I'm trying to use one of the examples from the PyQGIS Cookbook to render a  
map at custom resolution:

http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/composer.html#simple-rendering

While the layers render fine, no labels are drawn. Do you know how I can  
add labels to the output?

I tried

render.setLabelingEngine(QgsPalLabeling())

but no luck.

Thanks and best wishes,
Anita


-- 
anitagraser.com


More information about the Qgis-developer mailing list