[gdal-dev] How to supress std io of gdal?

Joaquim Luis jluis at ualg.pt
Fri Feb 12 09:04:50 EST 2010


I have also reported troubles of this type that unfortunately slipped 
across the last two gdal releases without being addressed.

http://trac.osgeo.org/gdal/ticket/3195

Here the problem is even worst as the errors are print to stdout

Joaquim Luis

> Sam,
>
>    
>>   Is there a way to redirect it to some other buffer? Like an internal stream which can then be properly propagated via exceptions or written into a log?
>>      
> It is probably not as sophisticated as you want or need but have you tried that:
>
> gdalinfo out.tif>  stdout.txt 2>  stderr.txt
>
> Regards,
>
> Ivan
>
>    
>>
>>   Thanks
>>   Sam
>>   --
>>   NEU: Mit GMX DSL über 1000,- ¿ sparen!
>>   http://portal.gmx.net/de/go/dsl02
>>   _______________________________________________
>>   gdal-dev mailing list
>>   gdal-dev at lists.osgeo.org
>>   http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>>      
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>    



More information about the gdal-dev mailing list