[GRASSLIST:2538] Re: p.map vector area fill

Glynn Clements glynn.clements at virgin.net
Mon Oct 1 17:27:25 EDT 2001


Bruno Pedro wrote:

> Does anyone know a way to fill areas of a vector with a specified color
> using p.map script commands, or an alternative to produce ppm images
> from GRASS?

I don't know about the former, but for producing PPM images:

1. With the d.* commands, you can use the CELL driver (with
"d.mon start=CELL"), followed by r.out.ppm. Or you can use the PNG
driver ("d.mon start=PNG") followed by pngtopnm.

2. With ps.map, you can convert the PostScript to PPM using
Ghostscript (with "gs -sDEVICE=ppmraw ...").

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-user mailing list