Re: [Qgis-user] saving all temporary layers?
On 1/21/2021 10:13 PM, Michael Dufty wrote: Not exactly what you are asking for, so it may not suit, but I find the “memory layer saver” plugin invaluable. When using this memory layers are not lost when you close QGIS Thanks for the pointer. I'll check whether this serves my needs. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] saving all temporary layers?
Not exactly what you are asking for, so it may not suit, but I find the “memory layer saver” plugin invaluable. When using this memory layers are not lost when you close QGIS The plugin description says “Makes layers with memory data providers persistent so that they are restored when a project is closed and reopened. The memory provider data is saved in a portable binary format (QDataStream) that is saved with extension .mldata alongside the project file.” I’m not sure if the .mldata file is useful as an export format. It also does not seem to work with temporary raster files. You can drag and drop memory layers from one QGIS instance to another (at least in 3.16). They will then persist separately in both QGIS files if you have the memory layer saver plugin installed. Michael Dufty From: Qgis-user On Behalf Of David Strip Sent: Friday, 22 January 2021 2:42 AM To: qgis-user Subject: [Qgis-user] saving all temporary layers? Before I write my own, does anyone have a script to share (processing or otherwise) that saves all temporary layers in a project, preferably to a geopackage? Thanks David ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] saving all temporary layers?
Hi David, you should have a look to this one: https://gis.stackexchange.com/a/323288/87346 the lower part of the script starting from /#write this layers into geoPackage/ will do the job. Am 21.01.2021 um 19:41 schrieb David Strip: Before I write my own, does anyone have a script to share (processing or otherwise) that saves all temporary layers in a project, preferably to a geopackage? Thanks David ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user -- Mit freundlichen Grüßen Stefan Giese Projektleiter/Consultant -- Aufwind durch Wissen! Jetzt neu: Webinare und Online-Schulungen bei der www.foss-academy.com -- WhereGroup GmbH Schwimmbadstr. 2 79100 Freiburg Germany Fon: +49 (0)761 / 519 102 - 61 Fax: +49 (0)761 / 519 102 - 11 stefan.gi...@wheregroup.com www.wheregroup.com Geschäftsführer: Olaf Knopp, Peter Stamm Amtsgericht Bonn, HRB 9885 OpenPGP_signature Description: OpenPGP digital signature ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] saving all temporary layers?
Before I write my own, does anyone have a script to share (processing or otherwise) that saves all temporary layers in a project, preferably to a geopackage? Thanks David ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user