[GRASS-user] Error exporting to tiff

Andrea Peri aperi2007 at gmail.com
Wed Jul 1 17:11:49 PDT 2015


I'm try-ing to export a tiff raster using this couple of commands:

r.composite -c --overwrite red=refl4.hpf at PERMANENT
green=refl3.hpf at PERMANENT blue=refl2.hpf at PERMANENT levels=256

r.out.gdal -c input=hpf at PERMANENT output=/path-to/hpf.tif
format="GTiff" type="Byte"

But I have an error:

Checking GDAL data type and nodata value...
WARNING: Selected GDAL datatype does not cover data range.
WARNING: GDAL datatype: Byte, range: 0 - 255
WARNING: Raster map <hpf at PERMANENT> range: 0 - 1.67114e+07
WARNING: Raster export results in data loss.
Using GDAL data type <Byte>
Input raster map contains cells with NULL-value (no-data). The value
255 will be used to represent no-data values in the input map. You can
specify a nodata value with the nodata option.
ERROR: Raster export aborted.

The message is absolutely not clear about what is the problem.

I don't know if there some log where retrieve more information.

Many thx for any help.


Andrea Peri
. . . . . . . . .
qwerty àèìòù

More information about the grass-user mailing list