I don't know if this mail was already sent. Sorry if you got it twice.
When I try to run "d.mon start=PNG" the error doesn't occure. But there is another error:
after running
d.mon start=PNG
d.mon select=PNG
d.rast geom_summe_s_filt_country
d.vect map=grass_country
d.mon stop=PNG
===>
PNG: GRASS_TRUECOLOR status: FALSE
PNG: collecting to file: map.png,
GRASS_WIDTH=640, GRASS_HEIGHT=480
Graphics driver [PNG] started
100%
Monitor 'PNG' terminated
ERROR - eof from graphics monitor.
Maik
Maik Trömel wrote:
I tried it out. The problem is, that its not possible to start a display.
When I run "d.mon start=x0" I get an error:ERROR: Graph_Set: can't open Display
No socket to connect to for monitor <x0>.
Problem selecting x0. Will try once more
No socket to connect to for monitor <x0>.Any idea what the problem could be?
Maik
Michael Barton wrote:
Check out the d.out.file script (or it's predecessor, d.out.png) that I
wrote and is included with GRASS. This will export whatever is on the
current monitor to a png (or other formats if you have gdal). Add d.mon and
d.rast and/or d.vect and you can script the creation of a map and its export
to png.Michael
______________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402
USAvoice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbartonFrom: Maik Trömel <maik.troemel@maitro.net>
Date: Thu, 15 Dec 2005 11:28:48 +0100
To: GRASSLIST <GRASSLIST@baylor.edu>
Subject: [GRASSLIST:9498] script for creating mapHello Grass-Users,
I want to write a script that creates a map as a png-file. I know how to
make it by hand. But when I try to script it, it doesn't work because I
can't open a monitor. Is there a possibility to create a map with a script.
If "yes". How can I do this.Thanks for you help.
Greetings
Maik