Hello, However, you can repair shapefiles. ESRI site give several tools, one : http://arcscripts.esri.com/details.asp?dbid=13733
After repairing, you will read your ESRI files with ogr how you want. Thanks -- Jérôme Cuinet Selon Frank Warmerdam <warmer...@pobox.com>: > Donnet , Sebastien wrote: > > Hi, > > > > sorry in advance if it's a stupid (or already well covered) question, > > but today I tried to read a shapefile coming from, I believe, ArcGIS 9.2 > > and run out into trouble: > > > > ERROR 4: Unable to open Bedrock.shx or Bedrock.SHX. > > FAILURE: > > Unable to open datasource `Bedrock.shp' with the following drivers. > > > > instead of an shx I have an sbn and an sbx > > > > My version of ogr/gdal: from FWTools226.exe > > (I'm on windows) > > > > thanks in advance for any hints. > > Sebastien, > > OGR cannot currently read shapefiles without a .shx file. The .sbn and > .sbx files are spatial indexes, and not used by GDAL. The .shx file is > basically a "shape id to file offset" index. > > Best regards, > -- > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Programmer for Rent > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev