[Qgis-developer] qgsAtlasComposition

Stott James fmrojst at fylkesmannen.no
Wed Apr 10 23:37:40 PDT 2013

Hi all,

I am trying to use the atlas functionality in a standalone python script. I am using the qgsAtlasComposition class. I get an error running this line:


I get an unknown exception.

I have also found that running myAtlas.numFeatures() always returns 0 even though I have added a layer that has data using setCoverageLayer().

I did take a look at this page and followed the steps in the test:


but I cannot get it to work in my script. I cannot get the test to work either. It always errors on the beginRender() line.


More information about the Qgis-developer mailing list