Opened 14 years ago
Closed 13 years ago
Last modified 10 years ago
#2798 closed defect (fixed)
Remove ESRI style spatial indexes from Shapefile on update via OGR
|Reported by:||marisn||Owned by:||chaitanya|
As OGR doesn't support ESRI style spatial indexes, they get outdated after shapefile editing with OGR. Still ESRI products will use outdated indexes for displaying features (edits done via OGR are not visible till indexes are updated!)
Temporary solution till OGR gets ESRI style spatial indexes for Shapefiles would be to remove them when Shapefile gets updated via OGR.
Change History (6)
comment:1 by , 14 years ago
|Component:||default → OGR_SF|
comment:2 by , 14 years ago
|Status:||new → assigned|
comment:3 by , 13 years ago
|Status:||assigned → closed|
follow-up: 5 comment:4 by , 13 years ago
|Status:||closed → reopened|
ogr_shape_40 fails for me. It looks like you have forgotten to svn add data/gjpoint.sbx data/gjpoint.sbn and data/gjpoint.qix
comment:5 by , 13 years ago
|Status:||reopened → closed|
Added the files in r20149.
comment:6 by , 10 years ago
Milestone 1.6.4 deleted
There are actually two issues.
The first is that we really ought to delete the .sbn and .sbx files (the ESRI style spatial index) whenever the first change is made to shapefile set.
The other is that we should either remove and disable use of the .qix file when we change the file, or work to keep it updated. For now I think we should just delete it as ongoing update will be fairly challenging.
Turning over to Chaitanya to resolve.