I use the qgis:difference algorithm but it returns multi-type outputs. Sometimes it's a QgsVectorLayer but sometimes a str such as : output_....

My question is : when the algorithm returns an empty result (the input is NULL so the difference too), does QGIS create an empty layer in the output that isn't readable ? Or is it a specific problem of the difference ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.