[Gdal-dev] Use of assert() on troublesome files
Ben Discoe
ben at vterrain.org
Fri Mar 5 01:30:24 EST 2004
> From: Frank Warmerdam
>
> I assume you are referring to tif_jpeg.c?
Ooops, yes.
> I think this is indicative of a logical
> flaw in the code. [..] Is it possible you are
> using libtiff code that is a few months out of date?
The Changelog on my GDAL says 2004-02-19. I could try it again with the CVS
version if that helps? Or you could try the TIF file..?
(ftp://keone.soest.hawaii.edu/pub/coastal_ftp/Imagery/Oahu/GeoTiffs/kaenapt.
zip) Using gdalwarp causes the same assert problem that i get by calling
GDALOpen.
> > 2. Perhaps assert() should be used only to detect cases of
> > a logical flaw in the code, rather than unexpected input data?
>
> I completely agree.
Oh good! :)
-Ben
More information about the Gdal-dev
mailing list