[gdal-dev] GDAL 1.8.0 misreads images with Type=Float32 as Type=Byte

Greg Coats gregcoats at mac.com
Sun Jun 26 11:02:46 EDT 2011


GDAL 1.7.3, released 2010/11/10, for Mac OS X 10.6, acquired from http://www.kyngchaos.com/software:frameworks, properly reads geo referenced raster images of Type=Float32. For the example 468 MB image, gdalinfo properly reports Type=Float32, and Computed Min/Max=35.024,748.615.

GDAL 1.8.0, released 2011/01/12, for Mac OS X 10.6, acquired from http://www.kyngchaos.com/software:frameworks, improperly read geo referenced images of Type=Float32. For the example 468 MB image, gdalinfo improperly reports Type=Byte, and Computed Min/Max=0.000,255.000.

gregcoats $ source ~/programs/scripts/paths_gdal_173.sh
gregcoats $ gdalinfo --version
GDAL 1.7.3, released 2010/11/10
gregcoats $ gdalinfo -mm floatn40w078_13.flt | tail -3
Band 1 Block=10812x1 Type=Float32, ColorInterp=Undefined
    Computed Min/Max=35.024,748.615
  NoData Value=-9999

gregcoats $ source ~/programs/scripts/paths_gdal_180.sh
gregcoats $ $gdalinfo --version
GDAL 1.8.0, released 2011/01/12
gregcoats $ gdalinfo -mm floatn40w078_13.flt | tail -3
Band 1 Block=10812x1 Type=Byte, ColorInterp=Undefined
    Computed Min/Max=0.000,255.000
  NoData Value=-9999

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110626/a7f8786f/attachment.html


More information about the gdal-dev mailing list