Updated r.colors - was: [GRASS-dev] problem with r.colors on Mac

Glynn Clements glynn at gclements.plus.com
Sat Apr 14 00:15:09 EDT 2007

Glynn Clements wrote:

> Once I've merged the rules= and color= options, I can re-use the
> rules= option to read rules from a file (but I don't think that you
> can specify a default directory for a file option).

I've done that. The colors= option now uses the rules files (except
for the grey.eq, grey.log, random and rules choices). The rules=
option is now a file option.

> Beyond that, it may be worth replacing colour=rules with a flag. Or
> even a completely separate r.colors.rules module (I think I've already
> expressed my opinions on having an interactive mode in a module which
> is otherwise non-interactive).

For now, I've added a flag (-i), and retained color=rules.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list