Changes between Initial Version and Version 1 of Ticket #2511
- Timestamp:
- Jul 29, 2008, 3:00:12 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2511
- Property Status new → assigned
-
Ticket #2511 – Description
initial v1 1 1 (Gdal doesn't calculate stats correctly if the image is GDT_Byte with PIXELTYPE=SIGNEDINT. In gcore\gdalrasterband.cpp, function ::GDALRasterBand::ComputeStatistics(…) 2 2 3 {{ 3 {{{ 4 4 switch( poBlock->GetDataType() ) 5 5 { … … 7 7 dfValue = ((GByte *) poBlock->GetDataRef())[iOffset]; 8 8 break; 9 }} 9 }}}