[GRASS-user] ps.map legend with rgbcolumn colors

Hamish hamish_b at yahoo.com
Fri Mar 5 04:05:32 EST 2010

> I am impressed with ps.map results (never used before): it
> does look a lot more like a printed map.

that's the idea! :)

> >     where column_name = 'zonename'
> On my system it needs to be unquoted (at least in my case,
> where values were integers) -- I mean, no quotes at all.

right, 'quotes' are for when you are matching strings

> https://docs.google.com/fileview?id=0B0EpsfMZ-IZYYmYwYmRlMWItY2Y4NS00MTNhLWEzZWUtZjQ2Y2U0OTU2YzRi&hl=it

very good!

> One thing I am not able to do yet, is to use system fonts (e.g. Arial).
> I have tried by setting absolute path but it doesn't seem to work. I am
> afraid this is more of a postscript question... Is ps.map able to
> access and embed GRASS fonts? (ok, tried to get GRASS in.)

from the ps.map help page:  (near the top)
       font font name
              The name of the PostScript font.  Fonts present in
              all PostScript implementations  are:  Times-Roman,
              Times-Italic,  Times-Bold,  Times-BoldItalic, Hel-
              vetica,  Helvetica-Oblique,  Helvetica-Bold,  Hel-
              vetica-BoldOblique,    Courier,   Courier-Oblique,
              Courier-Bold, and Courier-BoldOblique.
              The default is Helvetica.

PostScript needs to use a font known to PostScript printers, not TTF
fonts known to the system. Maybe there is a way around that but I don't
know it. Note the above list is the minimum set, there may well be more
available locally.



More information about the grass-user mailing list