mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
converted to QgsMapLayer objects with the ownership transferred to the Python caller This should make it super-easy for PyQGIS scripts to run processing algorithms and immediately utilise the results, even if they are memory layers. They call processing.run(), and get a dict of results back which includes those layers ready for adding to the current project or doing some other processing or operations with, and if they don't transfer to ownership off then these layers will be correctly garbaged collected by Python.