Bug report #13319
SBN / SBX files using by Pisa ? (no problem with 2.8)
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | - | ||
Affected QGIS version: | 2.10.1 | Regression?: | No |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 21375 |
Description
Hey,
I have a problem : if the shapefile have sbx and/or sbn files, there is an issue with split polygons... only with QGIS 2.10.
To reproduce, using attachment :
On 2.10, open the shapefile, split a polygon, save, and layer appears with bugs. If you delete sbn file, there is no problem.
On 2.8, with the same split, no issue => sbn is here, but QGIS don't use it ?! And if you save the layer (after split) on 2.8, and open with 2.10, there is not problem to.
If you edit the file with multiple operation without saving (split, merge, add features...), the shapefile become corrupt :(
History
#1 Updated by Jukka Rahkonen about 9 years ago
GDAL uses .sbn index read-only. When shapefile is saved after edits GDAL should delete the obsolete .sbn file. You say that it does not happen so I would call that as a bug. Not sure if it is bug in QGIS or GDAL. Perhaps QGIS keeps .sbn locked so it can't be deleted?
Read https://trac.osgeo.org/gdal/ticket/6042. You may be able to help Even who wrote: "a reproducable scenario that would demonstrate a failure in removing them would be interesting."
#2 Updated by Marco Hugentobler almost 9 years ago
- Status changed from Open to Closed
Fixed with c9b0ab17046296b3bbf9a71cb7e9427675b2ac55