[gdal-dev] Q: on gdalwarp of ecw file
Stephen Woodbridge
woodbri at swoodbridge.com
Mon Dec 17 15:39:29 PST 2012
On 12/17/2012 6:06 PM, Even Rouault wrote:
>>
>> $ gdalwarp --config CPL_TMPDIR . -t_srs EPSG:900913 -of GTiff -co
>> TILED=YES -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR Saraji_South.ecw
>> Saraji_South-900913.tif
>> Creating output file that is 34551P x 32332L.
>> Processing input file Saraji_South.ecw.
>> 0...10...20..ERROR 1: Could not perform Read/Write on file
>
> A grep in the ECW SDK code source shows that thhis error messages actuallys
> comes from it. So it is indeed not related to the write side of the operation.
> Are you sure that the ecw file is not corrupted ?
>
I am coming to the conclusion that it is indeed corrupt.
$ gdal_translate -of GTiff -co TILED=YES Saraji_South.ecw Saraji_South.tif
Input file size is 34361, 31930
0...10...20...30ERROR 1: Could not perform Read/Write on file
this got a little farther but died also.
Thanks you for looking into this. I appreciate the support. I'll request
a new image. and see if that will work.
Thanks again,
-Steve
More information about the gdal-dev
mailing list