this bug's URL: http://intevation.de/rt/webrt?serial_num=1860
-------------------------------------------------------------------------
Subject: r.in.gdal: range error when importing CELL type files?
grass binary for platform: Compiled from Sources
When importing a LANDSAT-TM5 Geotiff file, the range of
the CELL file differs from what gdalinfo reports:
Compare:
gdalinfo -mm p192r28_5t19920809_nn2.tif
Driver: GTiff/GeoTIFF
Size is 8218, 7415
Coordinate System is:
PROJCS["WGS 84 / UTM zone 32N",
[...]
Band 1 Block=8218x1 Type=Byte, ColorInterp=Gray
Computed Min/Max=0.000,189.000
Overviews: 1028x927
r.info -r p192r28_5t19920809_nn2.tif
min=0
max=254
---------------
gdalinfo -mm p192r28_5t19920809_nn6.tif
Computed Min/Max=0.000,179.000
r.info -r p192r28_5t19920809_nn6.tif
min=0
max=191
Data source:
ftp://ftp.glcf.umiacs.umd.edu/glcf/Landsat/WRS2/p192/r028/p192r28_5t19920809.TM-EarthSat-Orthorectified/
Is this a bug in r.in.gdal, gdalinfo or GDAL lib?
I found it as the colors appeared to be wrong (image too dark).
Markus
-------------------------------------------- Managed by Request Tracker