[GRASSLIST:1781] command-line i.composite

Hi Friends,

I would like to automate the composition of several band combinations for
demonstration and instruction for several regions.

I believe some bash scripting combined with g.region, i.composite and r.support
is in order here, but those commands appear to be interactive only.

Basically, I want to loop through a list of regions, building a composite for
each possible band combination. Surely this has been done before, right?

So, how do I batch job interactive grass commands?

Any suggestions?

--
**************************************************************************
Gerald Edward Buckmaster Jr., Editor, Webmaster, Imagery Analyst Imagery
Analysis Support Site - http://www.imagery-analyst.com Imagery Analysis Support
List - mailto:imageryl@imagery-analyst.com Imagery Analysis Support Newsletter
- mailto:subscribe@imagery-analyst.com
**************************************************************************

Gerald Buckmaster wrote:

I would like to automate the composition of several band combinations for
demonstration and instruction for several regions.

I believe some bash scripting combined with g.region, i.composite
and r.support is in order here, but those commands appear to be
interactive only.

g.region and r.support can be run non-interactively, but unfortunately
i.composite can't. The only workaround which I know of is to export
the bands, merge them outside of GRASS (e.g. with rgb3toppm).

Note that GRASS doesn't have any actual support for RGB images. The
contents of a "cell" are inherently scalar values.

--
Glynn Clements <glynn.clements@virgin.net>