[Qgis-user] copy and paste very slow in qgis

Michael.Dodd michael.dodd at open.ac.uk
Mon Jul 4 09:29:47 PDT 2022


Thanks that “Export->Save Features, ticking Save Only Selected Features” worked fine, took just a few seconds.

Have not tried the other suggestion from someone else about the spatial index but the file I was pasting into was empty so I am not sure it had a spatial index to start with.

From: David Strip <qgis-user at stripfamily.net>
Sent: Monday, July 4, 2022 5:15 PM
To: Michael.Dodd <michael.dodd at open.ac.uk>; 'qgis-user at lists.osgeo.org' <qgis-user at lists.osgeo.org>
Subject: Re: [Qgis-user] copy and paste very slow in qgis


CAUTION: This mail comes from outside the University. Please consider this before opening attachments, clicking links, or acting on the content.
On 7/4/2022 9:03 AM, Michael.Dodd via Qgis-user wrote:
I am trying to copy points with their attributes from one layer to another (actually one geopackage file to another), the select is quick, couple of mins, bearing in mind there are 800,000 points but when pasting into the new empty geopackage file it is extremely slow. Less than 10% of the points need to be pasted but it was taking 40mins before I stopped it and I had no idea how much longer it would take. There was a hint that it may have done about 30,000 in 40mins.
Is there another way to do this, I have also tried switching the selection and deleting the other 90% but this too is very slow and don’t see the end.
Have you tried selecting the features, then Export->Save Features, ticking Save Only Selected Features?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220704/96015a7f/attachment.htm>


More information about the Qgis-user mailing list