[GRASS-user] problem whit raster images

Hamish hamish_nospam at yahoo.com
Thu Jul 6 02:58:01 EDT 2006


Wolfgang wrote:

> usually during input the colors are getting separated into the "red", 
> "green" and "blue" chanal (you can display these chanals as gray scale
> 
> images). For displaying you could use:
>   d.rgb red=map.red green=map.green blue=map.blue
> An alternative is to merge them first:
>   r.composite red=map.red green=map.green blue=map.blue output=map.rgb
>   d.rast map.rgb
> (replace 'map' with your map name)


Hi,

any ideas on how to output 3 R,G,B rasters into a single 3-band GeoTIFF
without resolution loss? (ie no r.composite 256->32 col/band reduction)

r.out.gdal only takes a single input= map.

run r.out.gdal for each band then merge somehow with gdal_translate??



Hamish




More information about the grass-user mailing list