Changeset 19349


Ignore:
Timestamp:
Apr 9, 2010 11:25:20 AM (6 years ago)
Author:
rouault
Message:

GTiff: make GetScale?() and GetOffset?() retrieve values from PAM if not available in internal metadata

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gdal/frmts/gtiff/geotiff.cpp

    r19337 r19349  
    844844
    845845{
     846    if (!bHaveOffsetScale)
     847        return GDALPamRasterBand::GetOffset(pbSuccess);
     848
    846849    if( pbSuccess )
    847850        *pbSuccess = bHaveOffsetScale;
     
    871874
    872875{
     876    if (!bHaveOffsetScale)
     877        return GDALPamRasterBand::GetScale(pbSuccess);
     878
    873879    if( pbSuccess )
    874880        *pbSuccess = bHaveOffsetScale;
Note: See TracChangeset for help on using the changeset viewer.