[GRASS-user] r.in.gdal- renaming bands

Hamish hamish_b at yahoo.com
Mon Jun 7 10:32:55 EDT 2010


katrin wrote:
> I have a stack of images and when I import it to GRASS it starts to
> renaming as blue, green, red and then numbers. Why does it attribute those
> names since I'm not asking for it?


r.in.gdal -k flag:
    -k   Keep band numbers instead of using band color names

(so the red,green, blue naming is incorrect, or you just don't want them?)

r,g,b sets are grouped with the i.group command, displayed with d.rgb,
combined into a single map with r.composite (loss of fidelity if you do
that though)


Hamish


      


More information about the grass-user mailing list