[Gdal-dev] 100 byte shx files

Frank Warmerdam warmerdam at pobox.com
Tue Feb 20 16:46:48 EST 2007

Sorokine, Alexandre wrote:
> All,
> I was converting the projection of shapefiles from the same directoy 
> using the command:
> ogr2ogr -t_srs proj.wkt . /media/shapefiles/
> What I found is that all resulting shape files were corrupted having shx 
> file just 100 bytes long (basically this is a header with no content).  
> Convereting shapefiles one by one works fine.  Is it a bug or am I doing 
> something wrong?  I am using gdal gdal-1.3.2.


I'm not sure why this is happening.  I would encourage you to try it also
with a recent version of ogr2ogr - perhaps from a recent FWTools build.  If
the problem still occures then you could submit a bug report with all the
details needed to reproduce it.

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org

More information about the Gdal-dev mailing list