[QGIS-Developer] Running processing algorithm in iterative mode pyqgis
Hi all, I cannot find in the documentation how to run a Processing algorithm in the iterative mode via pyqgis. Even doing it with the UI and then looking at the history there seems to me that no additional flags are added. Some hints? Thanks! Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Running processing algorithm in iterative mode pyqgis
On Tue, 19 Mar 2019 at 01:28, matteo wrote: > > Hi all, > > I cannot find in the documentation how to run a Processing algorithm in > the iterative mode via pyqgis. Even doing it with the UI and then > looking at the history there seems to me that no additional flags are added. > > Some hints? It's not exposed anywhere. The logic sits here: https://github.com/qgis/QGIS/blob/master/python/plugins/processing/gui/AlgorithmExecutor.py#L297 , but that's not stable API and shouldn't be relied on by plugins. Best to copy that if you need it in your code. Nyall ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Running processing algorithm in iterative mode pyqgis
> It's not exposed anywhere. The logic sits here: > https://github.com/qgis/QGIS/blob/master/python/plugins/processing/gui/AlgorithmExecutor.py#L297 > , but that's not stable API and shouldn't be relied on by plugins. > Best to copy that if you need it in your code. ok got it, thanks! Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer