Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SBN / SBX files using by Pisa ? (no problem with 2.8) #21375

Closed
qgib opened this issue Sep 2, 2015 · 2 comments
Closed

SBN / SBX files using by Pisa ? (no problem with 2.8) #21375

qgib opened this issue Sep 2, 2015 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption

Comments

@qgib
Copy link
Contributor

qgib commented Sep 2, 2015

Author Name: Antoine SIG (Antoine SIG)
Original Redmine Issue: 13319
Affected QGIS version: 2.10.1


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 :(


@qgib
Copy link
Contributor Author

qgib commented Sep 3, 2015

Author Name: Jukka Rahkonen (Jukka Rahkonen)


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."

@qgib
Copy link
Contributor Author

qgib commented Jan 14, 2016

Author Name: Marco Hugentobler (@mhugent)


Fixed with c9b0ab1


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption
Projects
None yet
Development

No branches or pull requests

1 participant