Thanks for the pointers Alexandre and Hugo.

I have tried setting myAtlasMap.setAtlasDriven(True) which still produces
the same results. 

I have found that myAtlas.numFeatures() returns 0, which is strange because
when i run the script (with no feature filter on) it clearly iterates over
the entire the atlas layer. 

I am thinking it might be something to do with the atlas render? 

I have also tried setting myComposition.setAtlasMode(True) and
myAtlas.setEnabled(True) to no avail. 




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Atlas-export-Python-script-not-working-in-2-2-tp5106328p5106399.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to