[GRASSLIST:6007] newbie question - vector's displaying poly's in different colours

Pete Lancashire list at pdxeng.com
Sat Mar 5 15:04:33 EST 2005


Grass6

Where can I find a turorial/HOWTO/Examples ?

Data

v.info map=wind_ca layer=1 -c 
Displaying column type for database connection of layer 1:
INTEGER|cat
INTEGER|ID
INTEGER|GRIDCODE

v.db.select wind_ca
cat|ID|GRIDCODE
1|1|2
2|2|2
3|3|2
4|4|4
5|5|5
6|6|2
7|7|3
8|8|4
9|9|3
10|10|2


The data is all polygons, with GRIDCODE ranging from 0 to 10.

What I want to do is display each polygon in a unique colour
dependent on GRIDCODE. For example

GRIDCODE  COLOUR
0         white
1         blue
2         green
...       ...
and so on


The other is just display the area that are only of a particular
GRIDCODE or range of GRIDCODE.


Thank you

-pete





More information about the grass-user mailing list