Thanks Hamish, r.out.tiff did the work. I already had tried it but I failed because I dind't set the region correctly.<div>Anyway, setting the -t flag writes the TFW but doesn't make it a *true* GTiff, because r.out.tiff writes a Baseline tiff, without the GTiff tags. But that isn't a problem of course, I can produce a GTiff with another step (eg gdal tools).</div>
<div><br></div><div>giovanni<br><br><div class="gmail_quote">2011/9/17 Hamish <span dir="ltr"><<a href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">Giovanni wrote:<br>
> The question is the object :)I have a Float raster which GRASS<br>
> displays with a certain color table (I haven't set it...<br>
> PS: what table is used by default?). What's the most effective<br>
> way to export the raster into a true color Geotiff (as a 3 Byte<br>
> bands with color interpretation) using a certain color table?<br>
<br>
</div></div>I believe that r.out.tiff will export using colors, not data.<br>
Add the -t flag to get a world file & so make it a geotiff.<br>
<br>
In GRASS 6.4 the d.out.file module is another option, set the<br>
size= parameter to the number of rows and columns, and select<br>
format=geotiff.<br>
<br>
The default color table is "rainbow", see the r.colors help page<br>
for details.<br>
<font color="#888888"><br>
<br>
Hamish<br>
</font></blockquote></div><br></div>