[fdo-trac] #429: SHP provider crash in import/export of the corrupted or invalid spatial index file(idx)

FDO trac_fdo at osgeo.org
Wed Nov 19 02:19:52 EST 2008


#429: SHP provider crash in import/export of the corrupted or invalid spatial
index file(idx)
--------------------------+-------------------------------------------------
 Reporter:  stevenxu      |         Owner:  stevenxu
     Type:  enhancement   |        Status:  closed  
 Priority:  major         |     Milestone:          
Component:  SHP Provider  |       Version:  3.3.2   
 Severity:  3             |    Resolution:  fixed   
 Keywords:                |   External_id:          
--------------------------+-------------------------------------------------
Changes (by stevenxu):

  * status:  assigned => closed
  * resolution:  => fixed

Comment:

 Made two change:
 1. Catch the exception in the destructor of ShpFileSet
 2. Remove the invalid idx file and rebuild the spatial index file when
 member function "GetSpatialIndex" fail to open it at the first time.

 Fixed in branch with submission
 [https://trac.osgeo.org/fdo/changeset/4243]

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/429#comment:2>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list