[GRASS5] ps.map symbol size from DB column

Hamish hamish_nospam at yahoo.com
Wed Sep 7 21:02:52 EDT 2005


> Just one small glitch: The resulting postscript file causes an error
> ("Error: /undefined in inf") when the sizecol contains nulls or
> zeroes. In the code, you seem to have deliberately decided to allow
> size=0. Does this mean that you were able to make it work with some
> values = 0 ?

I threw that in there but didn't actually test it. Idea was that the
user could make the icon vanish by setting the size to zero. Maybe
PostScript doesn't like that. I was thinking about rainfall amounts
which for a small enough dt could very well have a value of 0. I'll give
those two cases (0,NULL) a try; look for any fix later today in CVS. ie:
+	    if (size_val == 0.0) continue;

> Also, what are the chances of having the print dialog in the GIS
> Manager actually print d.vect.chart results via ps.map ? If I
> understand correctly Michael is working on integrating d.vect.chart
> as a button. Does that mean that it can be saved as part of a group
> and then translated into a ps.map command ?

I have no idea about the print dialog, I've never really used it.
As such I will leave working on it to someone who knows about it.

 
> And (just to show how insatiable we are ;-): any chances of having
> the full d.vect.chart implement in ps.map, i.e. allowing pie/bar
> charts ? (I know I can create the charts outside as eps files and
> depict them. I have been doing this with GRASS5 and R. But having it
> all within GRASS would obviously make things easier.)

Sounds like a nice feature but I don't think I'll be working on this
myself.


> In any case, thanks for this great improvement !

No worries, thanks for the testing.



Hamish




More information about the grass-dev mailing list