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:
myAtlas.beginRender() 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: https://github.com/qgis/Quantum-GIS/blob/master/tests/src/python/test_qgsatlascomposition.py 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. James _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer