<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML - vooraf opgemaakt Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.HTML-voorafopgemaaktChar
        {mso-style-name:"HTML - vooraf opgemaakt Char";
        mso-style-priority:99;
        mso-style-link:"HTML - vooraf opgemaakt";
        font-family:Consolas;}
span.E-mailStijl21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=NL link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Hmm, I can’t use Edit > Paste As, because qgis does not finish the Edit > Copy command.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>The csv file is about 270 MB, 7,5 mln objects with 5 attributes, no x-y data. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>If you want to recreate the issue, the file can be found here:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><a href="https://www.cbs.nl/nl-nl/maatwerk/2017/38/buurt-wijk-en-gemeente-2017-voor-postcode-huisnummer">https://www.cbs.nl/nl-nl/maatwerk/2017/38/buurt-wijk-en-gemeente-2017-voor-postcode-huisnummer</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>I run into this issue when selecting all objects with Attribute Gem217 = 310<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>355 also has this issue. 321 and 356 work without a problem.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>I am using qgis here just as a means to chop the csv file into smaller selections which I can then use to edit, add attributes and data to and make maps of them.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Gr.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Jeroen<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>Van:</b> Qgis-user [mailto:qgis-user-bounces@lists.osgeo.org] <b>Namens </b>Ramon Andinach<br><b>Verzonden:</b> dinsdag 9 januari 2018 23:35<br><b>Aan:</b> qgis-user <qgis-user@lists.osgeo.org><br><b>Onderwerp:</b> Re: [Qgis-user] ctrl-c selection issue<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Just so we’ve got just about everything covered, does this happen for “Edit-> Paste As”?<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Also looking at the size of your original CSV, I’d go along with Jeroen, and try and import that csv into some other format first. <o:p></o:p></p></div><div><p class=MsoNormal>If you can find a way of making the selection without going near the attribute table that will help too.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Regards,<o:p></o:p></p></div><div><p class=MsoNormal>Ramon.<o:p></o:p></p></div><div><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On 10 Jan 2018, at 06:26, Jeroen Hovens <<a href="mailto:mail@groenebij.nl">mail@groenebij.nl</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='background:white'>Thanks for the ideas.<o:p></o:p></p></div><div><p class=MsoNormal style='background:white'> <o:p></o:p></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US>The option to save the selection as new csv file as Ramon suggested, doesn’t work; qgis goes into ‘not responding’ and no csv file is added to the layer list. However, a csv file is made, lacking a decent number of objects (first test 15095 of 18582 objects and second test is 15179 of 18582 objects, so missing about 3,5k objects). This csv file can be opened manually in qgis.</span><o:p></o:p></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US>And I checked: this options does work for selections where the ctrl-c option also worked. Then the new cvs layer is added to the layer list in no time.</span><o:p></o:p></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US> </span><o:p></o:p></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US>Is there some sort of log file in qgis that might give clues to the ‘not responding?</span><o:p></o:p></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US> </span><o:p></o:p></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US>@Kirk</span><o:p></o:p></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US>I did close and reopen qgis multiple times, even shut down the pc entirely, but to no effect. Selections that did allow for copying earlier, still work: I can make that selection again and ctrl-c works fine. Seems to me this rules out memory-issues.</span><o:p></o:p></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US> </span><o:p></o:p></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US>Gr.</span><o:p></o:p></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US>Jeroen</span><o:p></o:p></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US> </span><o:p></o:p></p></div><div><p class=MsoNormal style='background:white'><span lang=EN-US> </span><o:p></o:p></p></div><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><div><p class=MsoNormal style='background:white'><b>Van:</b><span class=apple-converted-space> </span>Qgis-user [<a href="mailto:qgis-user-bounces@lists.osgeo.org">mailto:qgis-user-bounces@lists.osgeo.org</a>]<span class=apple-converted-space> </span><b>Namens<span class=apple-converted-space> </span></b>Kirk Schmidt<br><b>Verzonden:</b><span class=apple-converted-space> </span>dinsdag 9 januari 2018 22:20<br><b>Aan:</b><span class=apple-converted-space> </span><a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br><b>Onderwerp:</b><span class=apple-converted-space> </span>Re: [Qgis-user] ctrl-c selection issue<o:p></o:p></p></div></div></div><div><p class=MsoNormal style='background:white'> <o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'>After a few selections, you may have to close and reopen qgis to purge the memory as well. Importing a csv is memory intensive so another approach is to try saving as a spatial database (SQLite) or even a shapefile.  Once written, you can load the spatial file and you should have lots of memory to keep selecting points.<span class=apple-converted-space> </span><br><br><br><o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><br>Kirk<o:p></o:p></p><div><div><p class=MsoNormal style='background:white'>On 1/9/2018 4:58 PM, Ramon Andinach wrote:<o:p></o:p></p></div></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal style='background:white'>I’m not sure what the problem is, but if I were doing that repeatedly, I’d probably use Layer -> Save As, tick the Save Only Selected Features box and save it to CSV.  Then muck about with excel later.<span class=apple-converted-space> </span><o:p></o:p></p></div><div><div><p class=MsoNormal style='background:white'> <o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'>This way ought to be a bit lighter on the memory. <o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'> <o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'> <o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'>Ramon.<o:p></o:p></p></div></div><div><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><p class=MsoNormal style='background:white'>On 10 Jan 2018, at 04:25, Jeroen Hovens <<a href="mailto:mail@groenebij.nl"><span style='color:purple'>mail@groenebij.nl</span></a>> wrote:<o:p></o:p></p></div></div><div><p class=MsoNormal style='background:white'> <o:p></o:p></p></div><div><div><div><div><p class=MsoNormal style='background:white'><span lang=EN-US>Hi,</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span lang=EN-US> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span lang=EN-US>Using qgis 2.14.18 I have been working today with a large csv file (7.5 mln objects). I just need selections of this database which I can then modify in excel. So I opened the attribute table and made a selection based on a specific value for an attribute, and copied that selection (about 30.000 objects) via the clipboard (ctrl-c) to a new Microsoft Excel file, then saved the excel file and repeated the process for another selection. This worked perfect for some time. However, some selections won’t copy: when I press the copy button the programs turn to ‘not responding’ and won’t snap out of it anymore.  Selection size when this happens is about the same (about 20k to 35k objects).</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span lang=EN-US> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span lang=EN-US>What could be the problem? Could the data be corrupted? How can I check what is wrong?</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span lang=EN-US> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span lang=EN-US>Thank you</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span lang=EN-US>Gr.</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span lang=EN-US>Jeroen<span class=apple-converted-space> </span></span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'> <o:p></o:p></p></div></div></div><div><p class=MsoNormal style='background:white'>_______________________________________________<br>Qgis-user mailing list<br><a href="mailto:Qgis-user@lists.osgeo.org"><span style='color:purple'>Qgis-user@lists.osgeo.org</span></a><br>List info:<span class=apple-converted-space> </span><a href="https://lists.osgeo.org/mailman/listinfo/qgis-user"><span style='color:purple'>https://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><br>Unsubscribe:<span class=apple-converted-space> </span><a href="https://lists.osgeo.org/mailman/listinfo/qgis-user"><span style='color:purple'>https://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><o:p></o:p></p></div></div></blockquote></div><div><p class=MsoNormal style='background:white'> <o:p></o:p></p></div></div><div><p class=MsoNormal style='background:white'><br><br><br><br><o:p></o:p></p></div><pre style='background:white'>_______________________________________________<o:p></o:p></pre><pre style='background:white'>Qgis-user mailing list<o:p></o:p></pre><pre style='background:white'><a href="mailto:Qgis-user@lists.osgeo.org"><span style='color:purple'>Qgis-user@lists.osgeo.org</span></a><o:p></o:p></pre><pre style='background:white'>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user"><span style='color:purple'>https://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><o:p></o:p></pre><pre style='background:white'>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user"><span style='color:purple'>https://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><o:p></o:p></pre></blockquote><div><p class=MsoNormal style='background:white'><br><br><br><o:p></o:p></p></div><pre style='background:white'>-- <o:p></o:p></pre><pre style='background:white'>Kirk Schmidt, MScF, BScF, RPF<o:p></o:p></pre><pre style='background:white'>General Manager<o:p></o:p></pre><pre style='background:white'>Nortek Resource Solutions Inc.<o:p></o:p></pre><pre style='background:white'>RR # 1<o:p></o:p></pre><pre style='background:white'>Thorburn, NS<o:p></o:p></pre><pre style='background:white'>B0K 1W0<o:p></o:p></pre><pre style='background:white'>Tel (902) 922.3607<o:p></o:p></pre><pre style='background:white'>Email: <a href="mailto:kirk@nortekresources.com"><span style='color:purple'>kirk@nortekresources.com</span></a><o:p></o:p></pre><pre style='background:white'>Web: <a href="http://www.nortekreources.com/"><span style='color:purple'>www.nortekreources.com</span></a><o:p></o:p></pre><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;background:white'>_______________________________________________</span><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'><br><span style='background:white'>Qgis-user mailing list</span><br><span style='background:white'><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a></span><br><span style='background:white'>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br><span style='background:white'>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span></span><o:p></o:p></p></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>