Re: [QGIS-Developer] Access QgsVectorLayer from child algorithm

2021-11-24 Thread Simon Gröchenig
Yes, that is the method I am looking for. Thank you, Etienne. I am still curious why the output is different depending on the isChildAlgorithm parameter?? Simon Am 24.11.2021 um 12:50 schrieb Etienne Trimaille: This might help you ? QgsProcessingUtils::mapLayerFromString() https://qgis.org/

Re: [QGIS-Developer] Access QgsVectorLayer from child algorithm

2021-11-24 Thread Etienne Trimaille
This might help you ? QgsProcessingUtils::mapLayerFromString() https://qgis.org/api/classQgsProcessingUtils.html#aa1c2360e52d2ed8100faf02a35125b17 Le mer. 24 nov. 2021 à 11:19, Simon Gröchenig < simon.groeche...@salzburgresearch.at> a écrit : > Hi developers, > > I am developing a Python process

[QGIS-Developer] Access QgsVectorLayer from child algorithm

2021-11-24 Thread Simon Gröchenig
Hi developers, I am developing a Python processing algorithm with some child algorithms. I am struggling to find a way to access a child algorithm's output vector layer. I want to use isChildAlgorithm=True in order to correctly set the feedback progress. * If I use processing.run(...) with s