[GRASS-user] v.colors: color rules

Moritz Lennert mlennert at club.worldonline.be
Tue Nov 6 08:27:20 PST 2018


On 06/11/18 17:10, Rich Shepard wrote:
>     Examples of rules with the v.colors module show single digits and
> percentages. Will the module read a file that has a range of values to which
> a color is assigned?
> 
>     rules.txt:
> 1-10 231:00:00
> 11-20 89:00:00
> 21-30 231:00:231
> 31-40 231:173:00
> 41-50 231:115:00
> 51-60 00:231:57
> 61-70 115:231:00
> END
> 

No. Please read the r.colors man page for an explanation of the rules.

If you want 1 - 10 in the same color, you have to do this:

1 231:00:00
10 231:00:00
11 89:00:00
20 89:00:00
etc

Moritz


More information about the grass-user mailing list