Timeline for PyQGIS adding temporary output vector files to Layout Map item
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 25, 2023 at 5:31 | vote | accept | Marin Marian | ||
Aug 14, 2023 at 9:42 | history | edited | Kadir Şahbaz | CC BY-SA 4.0 |
added 1 character in body
|
Aug 12, 2023 at 21:34 | answer | added | Marin Marian | timeline score: 0 | |
Aug 12, 2023 at 12:18 | comment | added | Ben W |
Because you are using processing.run() calls as child algorithms, their outputs will be map layer id strings, not QgsVectorLayer s, see this answer. You can get a map layer object like: motorway_link_lyr = context.getMapLayer(results['Motorway_link_osm']) .
|
|
Aug 11, 2023 at 18:07 | history | asked | Marin Marian | CC BY-SA 4.0 |