Bug report #15081
Impossible to clear geometry of feature from a shapefile
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Even Rouault | ||
Category: | Data Provider/OGR | ||
Affected QGIS version: | 2.14.3 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 23023 |
Description
Select all vertices of a (already saved) feature in a shapefile, click DEL to erase them.
They get wiped and message bar shows: "Geometry has been cleared. Use Add part tool to set geometry for this feature".
Click to save and your geometry reappears with this critical message from bar: "Layer XXXX: OGR error creating geometry for feature X: ".
At the same time, you can add geometryless feature from the attribute table dialog.
This looks no coherent.
Associated revisions
[OGR provider] Make changeGeometryValues() accept null geometry
Fixes #15081
[OGR provider] Make changeGeometryValues() accept null geometry
Fixes #15081
History
#1 Updated by Even Rouault over 8 years ago
- Assignee set to Even Rouault
- Category changed from Digitising to Data Provider/OGR
#2 Updated by Even Rouault over 8 years ago
- Status changed from Open to Closed
Fixed in changeset 4c56fa6e8ebcbcfc732d39e7bbe31d9f8376dee6.
#3 Updated by Even Rouault over 8 years ago
- Resolution set to fixed/implemented
- % Done changed from 0 to 100
#4 Updated by Harrissou Santanna over 8 years ago
Thanks, Even.