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
Ok -k parameter
In this case is incorrect giving the fact that the first band is not red :D)
2010/6/7 Hamish <hamish_b@yahoo.com>
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
Hamish pisze:
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)
Not always multiband images are composite rgb. For example SAGA GIS exports set of maps as a composite Geotiff, for which red, green, blue names would be a nonsense...
Hamish
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user