[GRASS-user] Newbie help - color a vector map by the value of a certain column

Hamish hamish_b at yahoo.com
Tue Apr 26 16:58:09 EDT 2011


Gustaf wrote:
> How do I color the polygons by the value of an attribute column
> (say population)? 

Micha wrote:
> In the GUI it's the "Add various vector-based maps" (just to
> the right of the "Add vector map" button) and choose "Thematic
> layer".
> In the dialog you can choose which attrib column and what
> color ramp to apply.
> The CLI command is 'd.vect.thematic'

in newer version of GRASS there is also the v.colors module,
which you can then use directly with 'd.vect -a rgb_column='.

See also the new 'population' standard color rule.


Hamish



More information about the grass-user mailing list