[GRASS5] d.vect -a|c for all types ver2

Hamish hamish_nospam at yahoo.com
Wed Jan 18 21:41:05 EST 2006


> > Just testing out the new 'd.vect -a' code in CVS.
> >
> > I found one problem that wasn't in the last version I tested:
> >
> > drawing vector points with fill color taken from GRASSRGB column
> > works fine & as expected, but if you try and take off the black
> > border with "color=none", nothing at all is drawn. The fill color
> > still should be.
..
> you are right, it does not work as it should. I hope the attached
> patch will solve this problem.

It does, thanks. Applied to CVS.


by the way,

+++ plot1.c	18 Jan 2006 14:00:44 -0000
@@ -192,9 +192,9 @@
 
         if ( (ltype & GV_POINTS) && Symb != NULL ) {
 	    /* Note: this should go to some library function */
-	  if (color > -1) {


I have that library function almost ready; will trial it in the d.graph
module before unleashing on the more important d.vect module.
Will post more about it later today.

Also will hopefully get the GRASSRGB variable column name code into
d.vect today.


regards,
Hamish




More information about the grass-dev mailing list