[Gdal-dev] 100 byte shx files

Ethan Alpert ealpert at digitalglobe.com
Wed Feb 21 18:55:54 EST 2007


FYI, I get this behavior from ogr2ogr when I use it to query from Oracle
if my query returns no values. So perhaps it's not recognizing
/media/shapefiles/ as a valid data source.

 

-e

 

________________________________

From: gdal-dev-bounces at lists.maptools.org
[mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Sorokine,
Alexandre
Sent: Tuesday, February 20, 2007 1:28 PM
To: gdal-dev at lists.maptools.org
Subject: [Gdal-dev] 100 byte shx files

 

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 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070221/ecba3288/attachment.html


More information about the Gdal-dev mailing list