[GRASS-dev] random colors in d.vect

Moritz Lennert mlennert at club.worldonline.be
Fri Jun 2 05:24:09 EDT 2006


Martin Landa wrote:
> Hi all,
> 
> I have rewritten the previous patch. I have separated the added code
> to a function random_color() and tried to clean the code. Now it works
> also for layer=-1 (i.e. according to layer number). There is also a
> small bug in the current d.vect. Flag -c does not work (in connection
> with layer=-1) for areas. It should be also solved. Please test it if
> you like, I have no access to the CVS...


Any chance of allowing random colors according to an attribute column 
instead of cat ?

Moritz




More information about the grass-dev mailing list