id summary reporter owner description type status priority milestone component version severity resolution keywords cc 3253 EHdr driver cannot read .clr files with holes and negative values lpinner Even Rouault "Colour table expansion does not seem to honour nodata values. The first colour table entry is being assigned to the lowest pixel value, which in this case is the nodata value (-32768), and it fails at the last pixel value as there is no corresponding colour table entry. {{{ C:\WorkSpace\gdal>gdalinfo --version GDAL 1.6.2, released 2009/07/31 C:\WorkSpace\gdal>gdalinfo testaus.bil Driver: EHdr/ESRI .hdr Labelled Files: testaus.bil testaus.hdr testaus.stx testaus.clr Size is 415, 340 Coordinate System is `' Origin = (112.505000000000000,-10.004999999999999) Pixel Size = (0.100000000000000,-0.100000000000000) Corner Coordinates: Upper Left ( 112.5050000, -10.0050000) Lower Left ( 112.5050000, -44.0050000) Upper Right ( 154.0050000, -10.0050000) Lower Right ( 154.0050000, -44.0050000) Center ( 133.2550000, -27.0050000) Band 1 Block=415x1 Type=Int16, ColorInterp=Palette Min=-500.000 Max=2000.000 Minimum=-500.000, Maximum=2000.000, Mean=824.100, StdDev=741.800 NoData Value=-32768 Color Table (RGB with 25 entries) 0: 127,40,65,255 1: 154,168,118,255 2: 172,218,120,255 3: 82,77,117,255 4: 245,192,117,255 5: 222,0,86,255 6: 191,173,69,255 7: 14,110,243,255 8: 102,86,25,255 9: 97,139,179,255 10: 211,152,39,255 11: 141,88,211,255 12: 225,127,60,255 13: 128,244,208,255 14: 162,132,156,255 15: 193,78,134,255 16: 202,170,254,255 17: 6,252,240,255 18: 157,235,249,255 19: 183,201,168,255 20: 91,144,146,255 21: 153,252,228,255 22: 243,122,213,255 23: 14,105,160,255 24: 145,97,47,255 C:\WorkSpace\gdal>gdal_translate -of JPEG -expand rgb testaus.bil testexp.jpg Input file size is 415, 340 0ERROR 1: No entry 2000. }}} " defect closed low 2.3.0 GDAL_Raster 1.6.2 normal fixed EHdr GDALColorTable warmerdam