Vector Attribute Display: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(RRR:GGG:BBB coloization) |
||
Line 1: | Line 1: | ||
'''Q:''' Is it possible to display a vector (polygon) map so that colors are chosen based on an attribute column (not the "cat")? I assume this can be done through v.reclass with a rules file, but am hoping there is a simpler way. | '''Q:''' Is it possible to display a vector (polygon) map so that colors are chosen based on an attribute column (not the "cat")? I assume this can be done through v.reclass with a rules file, but am hoping there is a simpler way. | ||
'''A:''' | '''A:''' For random colorization enjoy the -c flag. For precise colorization add a column containing RRR:GGG:BBB values (use v.db.update to quickly populate it) and then use the -a flag of [http://grass.itc.it/grass63/manuals/html63_user/d.vect.html d.vect]. | ||
[[Category:FAQ]] | [[Category:FAQ]] |
Revision as of 13:21, 6 February 2007
Q: Is it possible to display a vector (polygon) map so that colors are chosen based on an attribute column (not the "cat")? I assume this can be done through v.reclass with a rules file, but am hoping there is a simpler way.
A: For random colorization enjoy the -c flag. For precise colorization add a column containing RRR:GGG:BBB values (use v.db.update to quickly populate it) and then use the -a flag of d.vect.