https://issues.qgis.org/https://issues.qgis.org/favicon.ico2007-11-23T16:54:58ZQGIS Issue TrackingQGIS Application - Bug report #828: Features cannot be cut or deleted when using shapefile data.https://issues.qgis.org/issues/828?journal_id=158812007-11-23T16:54:58Zgburns -gburns@foo.bar
<ul></ul><p>I'm new to QGIS so take everything I say with a grain of salt. However, after a dozen hours of testing why a basic function like <em>Cut Features</em> was not working, this is what I discovered. I may be wrong in my explanation, or I may be doing something incorrect.</p>
<p>1. I have an external firewire drive on which I have OSX. Call it A-Drive. I have a shapefile folder called TEST on this drive in which there is a file called <em>TEST.dbf</em>. This file, and the other three files in the folder (.shp, .prj, .shx) define five points.</p>
<p>2. I have another external firewire drive, called B-drive, to which I installed QGIS. So, I have a QGIS data file on one drive, and QGIS itself on another.</p>
<p>3. I opened QGIS and added the TEST layer. Five points appeared.</p>
<p>4. I deleted one of the points and it disappeared.</p>
5. I saved the project on A-Drive, shut down QGIS, opened the project again. This is what happened:
<ul>
<li>the deleted point was still there </li>
<li>the <em>TEST.dbf</em> file was gone (only three files now in the TEST folder) </li>
<li>all the attributes for the five points had gone </li>
<li>a new file called <em>TEST_packed.dbf</em> appeared on B-drive (in the same directory as QGIS).</li>
</ul>
<p>6. When I tried to cut the point that had reappeared a second time, QGIS crashed.</p>
<p>7. I reversed everything, thinking that maybe QGIS has to be in the Applications folder. I installed QGIS into the Applications folder on A-Drive and created a new TEST folder on B-Drive. I went through the same procedure as above. Once again, a new file called <em>TEST_packed.dbf</em> was created, but this time in the Applications folder (where QGIS now resided), and TEST.dbf was deleted from the TEST folder on B-Drive.</p>
<p>8. To confirm that Delete and Cut Features only work if QGIS and it's data are on the same drive, I put both on A-Drive, and then both on B-Drive. Everything worked.</p>
<p>9. I still wasn't convinced that such a basic flaw would exist with QGIS, so I reinstalled OSX onto my internal drive, reinstalled QGIS from the zip file, and the same thing happened.</p>
<p>My explanation is this: when I cut the point and saved it, QGIS expected the data it was working with (TEST folder) to be on the same drive. When it couldn't find the TEST folder to update the shapefiles, for some reason QGIS saved a thing called <em>TEST_packed.dbf</em> in the same directory (or folder) as itself, and deleted the original dbf file.</p>
<p>To sum up:</p>
<p>If QGIS and your data are on the same drive:_ Cut Features_ and <em>Delete</em> work correctly. <br />If QGIS and your data are on the different drives: Cut Features and Delete do not work.</p>
<p>I consider that some warning be given in the READ ME file that comes with QGIS, along the lines of: "QGIS and your data must be on the same drive, otherwise some features won't work".</p> QGIS Application - Bug report #828: Features cannot be cut or deleted when using shapefile data.https://issues.qgis.org/issues/828?journal_id=158822007-11-24T14:39:12Zcdavila -cdavilam@jemila.jazztel.es
<ul><li><strong>Resolution</strong> set to <i>duplicate</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Same as <a class="issue tracker-1 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/785" title="Attribute table disappear after editing shapefiles (Closed)">#785</a>, although much better explained here</p> QGIS Application - Bug report #828: Features cannot be cut or deleted when using shapefile data.https://issues.qgis.org/issues/828?journal_id=158832009-08-21T22:52:53ZAnonymous
<ul></ul><p>Milestone Version 0.9.1 deleted</p>