[Gdal-dev] 100 byte shx files
sorokina at ornl.gov
Tue Feb 20 16:29:28 EST 2007
See my comments below...
> > 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.
> > --
> > Alex
> how about using a for loop?
> for x in *.shp ; do ogr2ogr ... ; done
Yes, this is what I did to get the job done. But I still wonder if the
100 byte shx files is an expected behavior or not.
More information about the Gdal-dev