<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 1, 2015 at 8:11 PM, Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm try-ing to export a tiff raster using this couple of commands:<br>
<br>
r.composite -c --overwrite red=refl4.hpf@PERMANENT<br>
green=refl3.hpf@PERMANENT blue=refl2.hpf@PERMANENT levels=256<br>
output=hpf<br>
<br>
r.out.gdal -c input=hpf@PERMANENT output=/path-to/hpf.tif<br>
format="GTiff" type="Byte"<br>
createopt="INTERLEAVE=PIXEL,TFW=YES,PROFILE=BASELINE,COMPRESS=DEFLATE"<br>
<br>
But I have an error:<br>
<br>
Checking GDAL data type and nodata value...<br>
2..5..8..11..14..17..20..23..26..29..32..35..38..41..44..47..50..53..56..59..62..65..68..71..74..77..80..83..86..89..92..95..98..100<br>
WARNING: Selected GDAL datatype does not cover data range.<br>
WARNING: GDAL datatype: Byte, range: 0 - 255<br>
WARNING: Raster map <hpf@PERMANENT> range: 0 - 1.67114e+07<br>
WARNING: Raster export results in data loss.<br>
Using GDAL data type <Byte><br>
Input raster map contains cells with NULL-value (no-data). The value<br>
255 will be used to represent no-data values in the input map. You can<br>
specify a nodata value with the nodata option.<br>
ERROR: Raster export aborted.<br>
<br>
The message is absolutely not clear about what is the problem.<br>
<br>
I don't know if there some log where retrieve more information.<br></blockquote><div><br></div><div>What is your region setting? </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Many thx for any help.<br>
<br>
Thx,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . .<br>
qwerty àèìòù<br>
-----------------<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a></font></span></blockquote></div><br></div></div>