Discussion:
[GRASSGUI] Adding a Raster Group as layer
Yann
2007-11-14 22:56:51 UTC
Permalink
Hello,

Would it be possible to "Add a Raster group" as a button, enabling to select
which layer to show from that group as an option.

thank you,
Yann
--
Yann Chemin
Sainte-Anne d'Auray, France
Michael Barton
2007-11-14 22:56:51 UTC
Permalink
Yann,

I don't understand what you are asking. Sorry. How does this differ from the
"group" that is already available?

Michael
Post by Yann
Hello,
Would it be possible to "Add a Raster group" as a button, enabling to select
which layer to show from that group as an option.
thank you,
Yann
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
Yann
2007-11-14 22:56:51 UTC
Permalink
Yes, r.in.gdal puts all imported bands into a group. "g.list group"
Get map names in the group with "i.group -g $GROUPNAME". (or "-l")
"d.rgb group=" or rgbhis.tcl browse button.
The group list is not ordered, so you would have to assume that Red was
first, Green second, and Blue third, and ignore any other bands.
Maybe ok for hinting map names in rgbhis.tcl.
Yes, the button is OK in tcl, an interesting additiong could be a scrolling
list of available groups to select from. Once a group selected, Red, Green
and Blue boxes would be filled with the names of band 3, 2 and 1 from that
group.
--
Yann Chemin
Sainte-Anne d'Auray, France
Loading...