Hello,
how do I disply a thematic map in GRASS for vector attributes that don't have
numeric values?
I tried d.vect.thematic but it would only accept numeric values.
If I have a vector layer with all communities of a country and a attribute
column with the community name and another column with the name of the
corresponding federal state, how do I display for instance a thematic map with
individual values based on the column with the sate names?
I managed to do this on QGIS. But is it also possible in GRASS itself?
how do I disply a thematic map in GRASS for vector attributes that don't have
numeric values?
I tried d.vect.thematic but it would only accept numeric values.
If I have a vector layer with all communities of a country and a attribute
column with the community name and another column with the name of the
corresponding federal state, how do I display for instance a thematic map
with individual values based on the column with the sate names?
not very efficient, but you could use the d.vect where= column to restrict to
e.g. where="state = 'California'". Perhaps write a script with v.db.select or
as Michael suggested add a GRASSRGB column and populate it with db.execute
WHERE state = '...'. Another idea is to dissolve into states with d.dissolve
(by column), then randomly color states with d.vect -c.
Hamish
____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage. http://www.yahoo.com/r/hs
how do I disply a thematic map in GRASS for vector attributes that don't have
numeric values?
I'd suggest QGIS. Load a GRASS vector, enter it's
properties, in 'Symbology' tab use 'Legend Type: Unique Value'.
Yes, I used that.
But QGis reacts kind of slowly. Therefore, I wanted to do it in GRASS natively.
To my humbly opinion a desktopn GIS should have this feature out-of-the-box. QGIS has it, gvSIG has it. Why is it difficult in GRASS?
The solutions presented above are inflexible workarounds.
Can we have this a wish for the next GRASS version?