<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi folks,<br><br>What is the python console syntax for the equivalent of pushing the "iterate over layers" processing button when using runalg() ? e.g. "p.runalg(... iterative=yes)". From "Additional functions for handling data" section in the training manual it likely has something to do with "getfeatures(layer)" but I'm not sure how to use these together.<br><br>More at <a href="http://gis.stackexchange.com/questions/150703/interactive-for-each-item-in-do-in-qgis/151042#151042" target="_blank">http://gis.stackexchange.com/questions/150703/interactive-for-each-item-in-do-in-qgis/151042#151042</a><br><br>I tried to figure this out myself using the "Processing >> History and log" dialog, but that doesn't show any results when the Iterate button is depressed. In the following screen shot, the bottom two "INFO" entries are for an iterative processing operation, but they don't have corresponding "ALGORITHM" entries. While the topmost "INFO" corresponds to the one and only "ALGORITHM" entry, which wasn't iterative.<br><br><img src="cid:ii_iayedd1v0_14df9113bd86440c" height="268" width="407"><br>​<br><br>I'm using 32bit QGIS 2.8 on Windows (via Osgeo4w).<br><br>best regards,<br><br>Matt<br></div>
</div><br></div>