[GRASS-user] error message coming with r.colors

Glynn Clements glynn at gclements.plus.com
Tue Aug 5 19:46:25 EDT 2008

Martin Landa wrote:

> > I remember facing this error message some time ago which sounded very
> > logical. Since then I never force a "color" when I want to use "rules".
> > Maybe an additional reference in the manual wouldn't leave any space for
> > doubts.
> that 'color=rules rules=path_to_file' ends with the error is not so
> much logical (in my eyes;-)

Well, the error message seems clear enough:

	"color", "rules", and "raster" options are mutually exclusive

The description of color=rules in the manpage is also quite clear:

       The rules color table type will cause  r.colors	to  read  color	 table
       specifications from standard input (stdin) and will build the color ta-
       ble accordingly.

However, it doesn't appear until around half-way through a fairly
large manpage.

For 6.3.1/6.4, it may be worth noting the mutual exclusion earlier on.
For 7.0, color=rules will disappear shortly.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-user mailing list