[Gdal-dev] GDALOpen failed on Tiff file

Frank Warmerdam warmerdam at pobox.com
Mon Aug 20 14:35:33 EDT 2007


WolfgangZ wrote:
> Hello,
> 
> I tried to gdal_translate and gdalinfo on a file which was created by a 
> Mapserver but I only get the following error message:
> 
> GDALOpen failed - 1
> 0_0.tif:Cannot handle different per-sample values for field "SampleFormat"
> 
> What does this mean? Is the tiff corrupt or only in a format that is not 
> supported by gdal?

Wolfgang,

Did you get any response on this issue?  TIFF files produced by MapServer
are generated with GDAL and should always have the same sample type for all
samples.  So I suspect the file was somehow corrupted.

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