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

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Tue Aug 5 16:44:29 EDT 2008


On Tue, 2008-08-05 at 21:30 +0200, Martin Landa wrote:
> Hi,
> 
> 2008/8/5 Glynn Clements <glynn at gclements.plus.com>:
> > What it says; you can't use both "color" and "rules". If you use
> > "color=rules", the rules are read from stdin (equivalent to -i). If
> > you use "rules=...", the rules are read from the specified file.
> >
> > So, just omit the color=rules option, i.e.:
> >
> > r.colors map=b25_daymax0.l1_neu at PERMANENT 'rules=/sonne3/.../GIS/colorscript_farben_temp'
> 
> hm, maybe quite confusing (at least for me). Can we change it in GRASS 7
> 
> color=rules
> 
> * rules not given or rules=-, read from stdin
> * otherwise read from the file
> 
> and eliminate interactive mode
> 
> ?
> 
> Martin
> 

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.



More information about the grass-user mailing list