Skip to main content
8 events
when toggle format what by license comment
Jan 8, 2023 at 12:32 history edited Taras CC BY-SA 4.0
added 62 characters in body
Apr 24, 2019 at 20:04 comment added dmjf08 Okay thanks. Just to be sure : is that normal that I get QgsVectorLayer with for example qgis:intersection and with the same principle I get a string in the output of qgis:difference ?
Apr 24, 2019 at 16:57 comment added Fran Raga If is a string,you need create a qgsvectorlayer using this string then
Apr 24, 2019 at 16:53 comment added dmjf08 It works but the output of the algorithm is not a QgsVectorLayer as usual, it's a string "output_...". How can I get the QgsVectorLayer ?
Apr 10, 2019 at 13:25 comment added Fran Raga yes, but you have to add it to the project QgsProject.instance().addMapLayer(layer['OUTPUT'], False) try that
Apr 10, 2019 at 12:33 comment added dmjf08 I try to use it with a temporary layer like following : 'OVERLAY': QgsProcessingFeatureSourceDefinition(layer['OUTPUT'].id(), True), but it returns Could not load source layer for OVERLAY : output_.... not found. Can't the layer be temporary ?
Feb 8, 2019 at 12:12 vote accept dmjf08
Feb 7, 2019 at 10:32 history answered Fran Raga CC BY-SA 4.0