[GRASS-dev] ps.map: raster always under vector map?

Hamish hamish_nospam at yahoo.com
Fri Apr 27 23:13:13 EDT 2007

> Markus Neteler wrote:
> I wanted to create a landscape-A3 map but cannot figure out
> how to rotate the paper (-r doesn't do what I want).

how does -r not work? I have used -r many times without problems.
Note that it may look wrong in gv but still print correctly.
Does -r work correctly for you using A4?

> > it also appear here that a raster map is always drawn under the
> > vector map even when defining the raster map as first in the psmap
> > config file.
> > Can anyone confirm?

> That's correct.
> Bear in mind that the raster map is always opaque, so it will obscure
> anything which is drawn beneath it. Level 3 PostScript supports masked
> images, but ps.map doesn't make use of this.

Also note that the raster (or rgb) map is optional.

easy modification (in C) for a one-off job--

in ps/ps.map/ps_map.c move this down a few lines, ie after both calls to

    /* do the raster stuff, if any */
    if (PS.do_raster || grp.do_group) PS_raster_plot();


More information about the grass-dev mailing list