[GRASSLIST:7659] Re: graduate color in NVIZ based on Postgres

Hamish hamish_nospam at yahoo.com
Thu Jul 21 05:17:57 EDT 2005


>>> d.vect.thematic script creted a colum in database named grassrgb
>>> (which is a varchar column containing RRR:GGG:BBB values). Now, we
>>> would like display this layer in NVIZ. Thematic classification
>>> should be based on grassrgb colum. Is it possible to do that ?
..
>> In d.vect (also in GIS Manager), one of the options is to draw a map
>> with areas colored by the value of the GRASSRGB column.
>> 
>> Currently, this only works for fills of areas. Hopefully it will also
>> work for points and lines/boundaries soon.
..
> I've tried this functionality as the first step (in GIS manager), but
> with no effect.  But, I've applied this functionallity on points
> theme. This should be a problem, hm. So, if I understand it well,
> there is no functionality for displaing and color-based classifing
> database point layer through GIS manager? Thank you for your time,


This isn't a NVIZ solution, but a dumb way of getting around the fact
that only areas respect the GRASSRBG column so far is to use v.buffer to
make your points into little areas and then "d.vect -a color=none" to
avoid drawing the boundary.

If I end up being the one who programs it (no sooner than 2 months from
now) d.vect type=point with GRASSRGB fill color for symbols should be
pretty easy to do, and then ps.map vareas,vpoints is the next priority.
I think someone else will have to do NVIZ.



Hamish




More information about the grass-user mailing list