Changeset 15069
- Timestamp:
- 07/29/08 02:06:33 (4 months ago)
- Files:
-
- branches/1.5/gdal/frmts/gtiff/geotiff.cpp (modified) (1 diff)
- branches/1.5/gdal/gcore/gdalpamdataset.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.5/gdal/frmts/gtiff/geotiff.cpp
r14842 r15069 956 956 957 957 { 958 if( pbSuccess ) 959 *pbSuccess = poGDS->bNoDataSet; 960 961 return poGDS->dfNoDataValue; 958 if( poGDS->bNoDataSet ) 959 { 960 if( pbSuccess ) 961 *pbSuccess = TRUE; 962 963 return poGDS->dfNoDataValue; 964 } 965 else 966 return GDALPamRasterBand::GetNoDataValue( pbSuccess ); 962 967 } 963 968 branches/1.5/gdal/gcore/gdalpamdataset.cpp
r14903 r15069 1235 1235 if( poAuxBand->GetDefaultRAT() != NULL ) 1236 1236 poBand->SetDefaultRAT( poAuxBand->GetDefaultRAT() ); 1237 1238 // NoData 1239 int bSuccess = FALSE; 1240 double dfNoDataValue = poAuxBand->GetNoDataValue( &bSuccess ); 1241 if( bSuccess ) 1242 poBand->SetNoDataValue( dfNoDataValue ); 1237 1243 } 1238 1244
