Hello 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
Maik Trömel wrote:
Hello 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
thank you
v.info -c jgenel1
Displaying column type for database connection of layer 1:
INTEGER|cat
CHARACTER|yas
INTEGER|count
DOUBLE PRECISION|sum_cat
in postgresql
bzk=# \d jgenel1
Table "public.jgenel1"
Column | Type | Modifiers
---------+-----------------------+-----------
cat | integer |
yas | character varying(80) |
count | integer |
sum_cat | double precision |
______________________________________
XamimeLT - installed on mailserver for domain @deprem.gov.tr
Queries to: postmaster@deprem.gov.tr
______________________________________
The views and opinions expressed in this e-mail message are the sender's own
and do not necessarily represent the views and the opinions of Earthquake Research Dept.
of General Directorate of Disaster Affairs.
Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal olarak T.C.
B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici nitelikte degildir.
Maik Trömel wrote:
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.
d.mon start=PNG
--
Glynn Clements <glynn@gclements.plus.com>
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
USA
voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
From: 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 map
Hello 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