#828 closed bug (duplicate)
Features cannot be cut or deleted when using shapefile data.
Reported by: | gburns | Owned by: | nobody |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Digitising | Version: | Trunk |
Keywords: | cut features, delete | Cc: | cdavilam@… |
Must Fix for Release: | No | Platform: | OS X |
Platform Version: | 10.4.10 | Awaiting user input: | no |
Description
Features cannot be cut or deleted when using shapefile data. Other data types have not been tested.
If you try to delete a feature (by Toggle Editing, Select Features, drawing a small box around the feature to select it, Cut Features, Toggle Editing), the feature will disappear from the screen, but QGIS also deletes something it shouldn’t – the dbf file. If you then close the map and reopen it, the feature will reappear. If you try and delete the feature a second time, QGIS will crash.
Change History (3)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Cc: | added |
---|---|
Milestone: | → Version 0.9.1 |
Priority: | major → critical |
Resolution: | → duplicate |
Status: | new → closed |
Type: | defect → bug |
Same as #785, although much better explained here
Note:
See TracTickets
for help on using tickets.
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 Cut Features was not working, this is what I discovered. I may be wrong in my explanation, or I may be doing something incorrect.
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 TEST_packed.dbf in the same directory (or folder) as itself, and deleted the original dbf file.
To sum up:
If QGIS and your data are on the same drive: Cut Features and Delete work correctly. If QGIS and your data are on the different drives: Cut Features and Delete do not work.
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".