Changeset 13384
- Timestamp:
- 12/18/07 23:13:02 (5 months ago)
- Files:
-
- branches/1.5/autotest/gcore/data/nan32.tif (copied) (copied from trunk/autotest/gcore/data/nan32.tif)
- branches/1.5/autotest/gcore/data/nan64.tif (copied) (copied from trunk/autotest/gcore/data/nan64.tif)
- branches/1.5/autotest/gcore/stats.py (copied) (copied from trunk/autotest/gcore/stats.py)
- branches/1.5/gdal (modified) (1 prop)
- branches/1.5/gdal/gcore/gdal_misc.cpp (modified) (2 diffs)
- branches/1.5/gdal/gcore/gdalrasterband.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.5/gdal
- Property svn:ignore changed from
*~
*.dll
*.exe
*.exp
*.ilk
*.lib
*.ncb
*.obj
*.pdb
*.suo
*.swp
*.vcproj.*.user
*.*.manifest
config.log
GDALmake.opt
mynmake.opt
libgdal.*
config.status
libtool
autom4te.cache
tags
ID
Debug
Release
.libs
.deps
lib
to
*~
*.dll
*.exe
*.exp
*.gdb*
*.ilk
*.lib
*.ncb
*.obj
*.pdb
*.suo
*.swp
*.vcproj.*.user
*.*.manifest
config.log
GDALmake.opt
mynmake.opt
libgdal.*
config.status
libtool
autom4te.cache
tags
ID
Debug
Release
.libs
.deps
lib
- Property svn:ignore changed from
branches/1.5/gdal/gcore/gdal_misc.cpp
r13162 r13384 596 596 case GDT_Float32: 597 597 dfValue = ((float *) poBlock->GetDataRef())[iOffset]; 598 if( CPLIsNan(dfValue) ) 599 continue; 598 600 break; 599 601 case GDT_Float64: 600 602 dfValue = ((double *) poBlock->GetDataRef())[iOffset]; 603 if( CPLIsNan(dfValue) ) 604 continue; 601 605 break; 602 606 case GDT_CInt16: … … 608 612 case GDT_CFloat32: 609 613 dfValue = ((float *) poBlock->GetDataRef())[iOffset*2]; 614 if( CPLIsNan(dfValue) ) 615 continue; 610 616 break; 611 617 case GDT_CFloat64: 612 618 dfValue = ((double *) poBlock->GetDataRef())[iOffset*2]; 619 if( CPLIsNan(dfValue) ) 620 continue; 613 621 break; 614 622 default: branches/1.5/gdal/gcore/gdalrasterband.cpp
r13287 r13384 3003 3003 case GDT_Float32: 3004 3004 dfValue = ((float *) poBlock->GetDataRef())[iOffset]; 3005 if (CPLIsNan(dfValue)) 3006 continue; 3005 3007 break; 3006 3008 case GDT_Float64: 3007 3009 dfValue = ((double *) poBlock->GetDataRef())[iOffset]; 3010 if (CPLIsNan(dfValue)) 3011 continue; 3008 3012 break; 3009 3013 case GDT_CInt16:
