[gdal-dev] suppressing libtiff warnings
Frank Warmerdam
warmerdam at pobox.com
Fri Jan 15 22:38:32 EST 2010
Richard Buenger wrote:
> Is there some way to turn off libtiff warning messages generated by GDAL
> calls?
> How do I tell GDAL to set the libtiff warning handler to null?
>
> using c# gdal wrapper in .NET
Richard,
I think you can call gdal.PushErrorHandler( "CPLQuietErrorHandler" ) to
supress all error reports, including libtiff ones.
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 | Geospatial Programmer for Rent
More information about the gdal-dev
mailing list