[Gdal-dev] 100 byte shx files
Dylan Beaudette
dylan.beaudette at gmail.com
Tue Feb 20 16:28:03 EST 2007
On Tuesday 20 February 2007 12:27, 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.
>
> --
> Alex
how about using a for loop?
for x in *.shp ; do ogr2ogr ... ; done
?
--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341
More information about the Gdal-dev
mailing list