Hello,

This mail is related to https://github.com/OSGeo/gdal/issues/1525

Quick recall :

We try to open DBF file using shapefile driver, but in our dataset we have 
empty SHP & SHX files (provided by customers, so we can't remove it).
To be able to open it, we use the SHAPE_RESTORE_SHX option to bypass shp 
reading.

This option usage sounds to be a bit dirty workaround, especially when there 
are a parameter bForceSingleFileDataSource   on OGRShapeDataSource::Open() 
method.

https://github.com/OSGeo/gdal/blob/0d7d762895f268d0c3ddaed5ddac3605c727e501/gdal/ogr/ogrsf_frmts/shape/ogrshapedatasource.cpp#L150

Maybe an open option could help us to deal with this case ? 
(FORCE_SINGLE_FILE_DATA_SOURCE)

Thanks,

--
Vincent Loppin
VirtualGeo SDK Technical Expert
DIGINEXT - Virtual Reality Division
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to