loop group layer and add each layer into composer template using pyqgis

المشرف العام

Administrator
طاقم الإدارة
I have a qgis project and I am using pyqgis to print the maps. In my project i have a group layer that contains raster layer, ie each for max temp, another for rainfall etc. All these rasters have the same extent. How can I loop through these raster layer and add each one into my composer template, refresh the legend,print my map, remove the raster from the composer and add the next raster. All other layers in my project are just context layer.



أكثر...
 
أعلى