https://issues.qgis.org/https://issues.qgis.org/favicon.ico2018-07-03T17:00:42ZQGIS Issue TrackingQGIS Application - Bug report #19325: CSV not exporting correct data from shape filehttps://issues.qgis.org/issues/19325?journal_id=906432018-07-03T17:00:42ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Easy fix?</strong> set to <i>No</i></li><li><strong>Project</strong> changed from <i>QGIS Redmine (QGIS bug tracker)</i> to <i>QGIS Application</i></li><li><strong>Category</strong> changed from <i>Any</i> to <i>Vectors</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li><li><strong>Affected QGIS version</strong> set to <i>3.2</i></li><li><strong>Crashes QGIS or corrupts data</strong> set to <i>No</i></li><li><strong>Regression?</strong> set to <i>No</i></li></ul><p>3.2?</p> QGIS Application - Bug report #19325: CSV not exporting correct data from shape filehttps://issues.qgis.org/issues/19325?journal_id=906592018-07-04T09:57:03ZTara Pirietjpirie@googlemail.com
<ul></ul><p>Giovanni Manghi wrote:</p>
<blockquote>
<p>3.2?</p>
</blockquote>
<p>Hi, <br />It was in 2.18.13 however I have just tried 3.2 and the same issue occurs.</p> QGIS Application - Bug report #19325: CSV not exporting correct data from shape filehttps://issues.qgis.org/issues/19325?journal_id=906602018-07-04T09:59:09ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Hi, description is a bit confusing to me, can you kindly add the list of exact steps to follow in order to allow us try replicate the problem? thanks!</p> QGIS Application - Bug report #19325: CSV not exporting correct data from shape filehttps://issues.qgis.org/issues/19325?journal_id=906612018-07-04T10:00:27ZRichard Duivenvoorde
<ul></ul><p>Hi Tara,</p>
<p>Can you provide clear instructions on the things you do to get this result?</p>
<p>Because:<br />- I just downloaded your shapefile, <br />- opened it in QGGIS<br />- made the layer editable<br />- removed a lot of points<br />- finished editing (! else your edits are not saved, off course?)<br />- show feature count: 185<br />- export to csv<br />- view table: 185 records<br />To check if those were the right records I joined the data on the Time field, and all seems ok to me?</p>
<p>So please provide some more info on how to reproduce this.<br />I'm on Debian Linux, I tested both QGIS 3.2 and master</p> QGIS Application - Bug report #19325: CSV not exporting correct data from shape filehttps://issues.qgis.org/issues/19325?journal_id=906902018-07-05T08:15:07ZTara Pirietjpirie@googlemail.com
<ul></ul><p>Richard Duivenvoorde wrote:</p>
<blockquote>
<p>Hi Tara,</p>
<p>Can you provide clear instructions on the things you do to get this result?</p>
<p>Because:<br />- I just downloaded your shapefile, <br />- opened it in QGGIS<br />- made the layer editable<br />- removed a lot of points<br />- finished editing (! else your edits are not saved, off course?)<br />- show feature count: 185<br />- export to csv<br />- view table: 185 records<br />To check if those were the right records I joined the data on the Time field, and all seems ok to me?</p>
<p>So please provide some more info on how to reproduce this.<br />I'm on Debian Linux, I tested both QGIS 3.2 and master</p>
</blockquote>
<p>Hi Richard,</p>
<p>The shape files were the finished and saved files. The attached CSV was the saved file from the attached shape file. If you load the CSV you see there are more points than the shape file (you need to zoom to layer to see them) but it was saved from that file. I even reloaded the shape file into QGIS to make sure all the changes were definitely saved before saving to the csv. I have also tried excel version and copy and pasting the attribute table. When I save to a csv file I do save as, select the csv and find the folder to save it to.</p> QGIS Application - Bug report #19325: CSV not exporting correct data from shape filehttps://issues.qgis.org/issues/19325?journal_id=906932018-07-05T09:10:17ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><blockquote>
<p>The shape files were the finished and saved files. The attached CSV was the saved file from the attached shape file. If you load the CSV you see there are more points than the shape file (you need to zoom to layer to see them) but it was saved from that file. I even reloaded the shape file into QGIS to make sure all the changes were definitely saved before saving to the csv. I have also tried excel version and copy and pasting the attribute table. When I save to a csv file I do save as, select the csv and find the folder to save it to.</p>
</blockquote>
<p>Can you kindly attach the original data and outline the exact steps you are following? thanks!</p> QGIS Application - Bug report #19325: CSV not exporting correct data from shape filehttps://issues.qgis.org/issues/19325?journal_id=906972018-07-05T09:19:06ZTara Pirietjpirie@googlemail.com
<ul><li><strong>File</strong> <a href="/attachments/download/12925/MrFB_site10.csv">MrFB_site10.csv</a><a href="/attachments/12925/MrFB_site10.csv"><img alt="Magnifier" src="/images/magnifier.png" /></a> added</li></ul><p>Giovanni Manghi wrote:</p>
<blockquote><blockquote>
<p>The shape files were the finished and saved files. The attached CSV was the saved file from the attached shape file. If you load the CSV you see there are more points than the shape file (you need to zoom to layer to see them) but it was saved from that file. I even reloaded the shape file into QGIS to make sure all the changes were definitely saved before saving to the csv. I have also tried excel version and copy and pasting the attribute table. When I save to a csv file I do save as, select the csv and find the folder to save it to.</p>
</blockquote>
<p>Can you kindly attach the original data and outline the exact steps you are following? thanks!</p>
</blockquote>
<p>Hi Giovanni</p>
<p>Please find the original file attached. I then loaded it into QGIS and removed the extreme data points so only those seen on the shape file (loaded previously) were left. I saved the edits and came out of editing mode then saved the changes as a new shape file which is the one I have given to you. I then saved the same shape file as a csv file which I also attached previously. However when I loaded the "cleaned" csv file and zoomed to layer I found the "deleted" points were still there.</p> QGIS Application - Bug report #19325: CSV not exporting correct data from shape filehttps://issues.qgis.org/issues/19325?journal_id=906982018-07-05T09:21:51ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Tara Pirie wrote:</p>
<blockquote>
<p>Giovanni Manghi wrote:</p>
<blockquote><blockquote>
<p>The shape files were the finished and saved files. The attached CSV was the saved file from the attached shape file. If you load the CSV you see there are more points than the shape file (you need to zoom to layer to see them) but it was saved from that file. I even reloaded the shape file into QGIS to make sure all the changes were definitely saved before saving to the csv. I have also tried excel version and copy and pasting the attribute table. When I save to a csv file I do save as, select the csv and find the folder to save it to.</p>
</blockquote>
<p>Can you kindly attach the original data and outline the exact steps you are following? thanks!</p>
</blockquote>
<p>Hi Giovanni</p>
<p>Please find the original file attached. I then loaded it into QGIS and removed the extreme data points so only those seen on the shape file (loaded previously) were left. I saved the edits and came out of editing mode then saved the changes as a new shape file which is the one I have given to you. I then saved the same shape file as a csv file which I also attached previously. However when I loaded the "cleaned" csv file and zoomed to layer I found the "deleted" points were still there.</p>
</blockquote>
<p>how did you loaded the CSV in the first place? as a geometryless table or as point layer (in this second case what tool you used to plot the csv as point layer?)?</p> QGIS Application - Bug report #19325: CSV not exporting correct data from shape filehttps://issues.qgis.org/issues/19325?journal_id=906992018-07-05T10:02:18ZTara Pirietjpirie@googlemail.com
<ul></ul><p>Giovanni Manghi wrote:</p>
<blockquote>
<p>Tara Pirie wrote:</p>
<blockquote>
<p>Giovanni Manghi wrote:</p>
<blockquote><blockquote>
<p>The shape files were the finished and saved files. The attached CSV was the saved file from the attached shape file. If you load the CSV you see there are more points than the shape file (you need to zoom to layer to see them) but it was saved from that file. I even reloaded the shape file into QGIS to make sure all the changes were definitely saved before saving to the csv. I have also tried excel version and copy and pasting the attribute table. When I save to a csv file I do save as, select the csv and find the folder to save it to.</p>
</blockquote>
<p>Can you kindly attach the original data and outline the exact steps you are following? thanks!</p>
</blockquote>
<p>Hi Giovanni</p>
<p>Please find the original file attached. I then loaded it into QGIS and removed the extreme data points so only those seen on the shape file (loaded previously) were left. I saved the edits and came out of editing mode then saved the changes as a new shape file which is the one I have given to you. I then saved the same shape file as a csv file which I also attached previously. However when I loaded the "cleaned" csv file and zoomed to layer I found the "deleted" points were still there.</p>
</blockquote>
<p>how did you loaded the CSV in the first place? as a geometryless table or as point layer (in this second case what tool you used to plot the csv as point layer?)?</p>
</blockquote>
<p>I loaded it as a deliminated text file, then saved it as a shape file to be able to edit it.</p> QGIS Application - Bug report #19325: CSV not exporting correct data from shape filehttps://issues.qgis.org/issues/19325?journal_id=929732018-09-18T07:41:26ZJürgen Fischerjef@norbit.de
<ul><li><strong>Assignee</strong> deleted (<del><i>Tara Pirie</i></del>)</li></ul> QGIS Application - Bug report #19325: CSV not exporting correct data from shape filehttps://issues.qgis.org/issues/19325?journal_id=1005722019-02-23T19:36:58ZJürgen Fischerjef@norbit.de
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>no timely feedback</i></li></ul><p>Bulk closing 82 tickets in feedback state for more than 90 days affecting an old version. Feel free to reopen if it still applies to a current version and you have more information that clarify the issue.</p>