[Gdal-dev] VRTSimpleSource bNoDataSet not initialized

Stefan Klug Klug.Stefan at gmx.de
Thu Jun 7 12:37:23 EDT 2007


Hi,

the subject says it all.
In VRTSimpleSource the bNoDataSet member is not initialized in the 
constructor.
In my opinion it should be initialized to FALSE.

This hit me when I tried to use a VRTSimpleSource with Average Sampling 
and no explicitly set NoDataValue.
In this case white pixels where not averaged because bNoDataSet was true 
and dfNoDataValue zero.

Best regards,
Stefan
 



More information about the Gdal-dev mailing list