Changes between Initial Version and Version 1 of Ticket #2511


Ignore:
Timestamp:
Jul 29, 2008, 3:00:12 PM (16 years ago)
Author:
warmerdam
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2511

    • Property Status newassigned
  • Ticket #2511 – Description

    initial v1  
    11(Gdal doesn't calculate stats correctly if the image is GDT_Byte with PIXELTYPE=SIGNEDINT. In gcore\gdalrasterband.cpp, function ::GDALRasterBand::ComputeStatistics(…)
    22
    3 {{
     3{{{
    44                switch( poBlock->GetDataType() )
    55                {
     
    77                    dfValue = ((GByte *) poBlock->GetDataRef())[iOffset];
    88                    break;
    9 }}
     9}}}