Changes between Version 6 and Version 7 of rfc15_nodatabitmask
- Timestamp:
- Aug 21, 2007, 7:57:14 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rfc15_nodatabitmask
v6 v7 34 34 The GDALRasterBand class will include a default implementation of !GetNullMask() that returns one of three default implementations. 35 35 36 * If the band has a nodata value set, an instance of the new GDALNodataMaskRasterBand class will be returned. GetNullMaskFlags() will return zero (no flags set).36 * If the band has a nodata value set, an instance of the new GDALNodataMaskRasterBand class will be returned. !GetNullMaskFlags() will return zero (no flags set). 37 37 * If there is no nodata value, but the dataset has an alpha band that seems to apply to this band (specific rules yet to be determined) and that is of type GDT_Byte then that alpha band will be returned, and the flags GNMF_PER_DATASET and GNMF_ALPHA will be returned in the flags. 38 38 * If neither of the above apply, an instance of the new GDALAllValidRasterBand class will be returned that has 255 values for all pixels. The null flags will return GNMF_ALL_VALID.