[GRASSLIST:5090] monitor export

Hello,

Is there a way I can export the contents of my monitor (raster, vectors) to
eps, tiff or something else?

Or better, is there a good map creating tutorial somewhere?

tks

+-------------------------------------------------+

   Carlos Henrique Grohmann de Carvalho - Guano

       Geologist - MSc Student IGc-USP

   Linux User #89721 PGP key: www.keyserver.net

+-------------------------------------------------+

Hello Carlos,

You can do it. The information is here:

http://grass.itc.it/gdp/html_grass5/html/pngdriver.html

Start up the driver

         d.mon start=PNG
         d.mon select=PNG

Display raster map and vector polygons

         d.rast somerastermap
         d.vect map=somevectormap color=red

Stop the driver subsequently. This will write a file named map.png to be
created in your current directory:
         d.mon stop=PNG

NOTES

----- Original Message -----
From: "Carlos Henrique Grohmann de Carvalho" <guano@usp.br>
To: <GRASSLIST@baylor.edu>
Sent: Wednesday, November 27, 2002 6:40 AM
Subject: [GRASSLIST:5090] monitor export

Hello,

Is there a way I can export the contents of my monitor (raster, vectors)

to

eps, tiff or something else?

Or better, is there a good map creating tutorial somewhere?

tks

+-------------------------------------------------+

   Carlos Henrique Grohmann de Carvalho - Guano

       Geologist - MSc Student IGc-USP

   Linux User #89721 PGP key: www.keyserver.net

+-------------------------------------------------+

Carlos Henrique Grohmann de Carvalho wrote:

Is there a way I can export the contents of my monitor (raster, vectors) to
eps, tiff or something else?

The PNG driver allows you to direct the output of d.* commands into a
PNG image. However, you need GD 2.x to get a 24-bpp image; GD 1.x only
supports 8-bpp (256 colour) images.

Or you can use the screen grab feature of an image program such as
ImageMagick to grab the contents of a window (the resulting image will
have the same colour depth as the screen).

For generating PostScript, you can use ps.map. This is probably less
flexible than using d.* commands, but will result in better quality
for vectors and text.

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