[gdal-dev] gdalwarp produces all black output
David Strip
gdal at stripfamily.net
Wed Nov 28 21:21:59 PST 2012
gdalinfo -mm shows your input data file has all it's values in the range
518 to 2396. When converted to a 16bit tif, these all fall in a range
that appears black on your screen. You need to rescale the data to fill
the 16bit range. This is easily done with gdal_translate, which is
probably what you want to use anyway, since you're not changing the
projection, only the data format.
gdal_translate -ot Int16 -scale 518 2396 0 32767 n29.dt1 mosaic.tif
More information about the gdal-dev
mailing list