Hi all...
I am trying to understand how d.gis and d.m works in a new grass6.1.0
version.
I have previously used grass6.1.cvs version from 0.4.feb.2006 which I
like a lot.
The first mystery (for me) is that the files at d.m/menu.tcl:
465 lines including all menu positions - my old cvs version
45(!) lines including SOME menu positions - new 6.1.0
why is like that? What is more strange I could not find other file where
the rest of menus are stored
The second mystery (for me) is d.gis. It is very nice but still I can
not understand how to use it.
For use it I mean to be able to display the results of some of my
scripts.
I have developed bunch of scripts for very specific data visualization.
I have even integrated them with gui of the previous version (I mean
mentioned cvs). My scripts unfortunately does not working with the new
d.gis. Of course I have always switch to d.m but it also need some
adjustment (see 'mystery 01').
I will be very happy if somebody can explain me how to port e.g. the
script which is using e.g. d.what.vect command or the script which
utilize multiple call to d.vect.thematic and displaying the results on
the same display.
Best regards
Zbigniew
Sorry, I found the answer for the first mystery:
/etc/gui/menus/menu.tcl - uh, yet another menu file...
, but the second one still remains !!!
Thanks in advance
Zbigniew
On Tue, 2006-08-29 at 15:49 +0200, Zbigniew Perski wrote:
Hi all...
I am trying to understand how d.gis and d.m works in a new grass6.1.0
version.
I have previously used grass6.1.cvs version from 0.4.feb.2006 which I
like a lot.
The first mystery (for me) is that the files at d.m/menu.tcl:
465 lines including all menu positions - my old cvs version
45(!) lines including SOME menu positions - new 6.1.0
why is like that? What is more strange I could not find other file where
the rest of menus are stored
The second mystery (for me) is d.gis. It is very nice but still I can
not understand how to use it.
For use it I mean to be able to display the results of some of my
scripts.
I have developed bunch of scripts for very specific data visualization.
I have even integrated them with gui of the previous version (I mean
mentioned cvs). My scripts unfortunately does not working with the new
d.gis. Of course I have always switch to d.m but it also need some
adjustment (see 'mystery 01').
I will be very happy if somebody can explain me how to port e.g. the
script which is using e.g. d.what.vect command or the script which
utilize multiple call to d.vect.thematic and displaying the results on
the same display.
Best regards
Zbigniew
The GIS Manager (gis.m) is the default GUI interface in 6.1+. In 6.1, we've
maintained the old GUI interface (d.m) for legacy compatibility. To help
keep the menus in sync, there is a common menu file for both (menu.tcl). The
menu items file for gis.m (gmmenu.tcl) reads menu.tcl for all items it has
in common with d.m. For a few new items (e.g., georectifier), it adds them
into its own menu file.
I am anticipating that we'll drop d.m completely for 6.2 and merge all the
menu items back into a single file
[Note: This reply was bounced back to me because you're on the old grass
user list at Baylor. You need to switch over to the active user list at
<grassuser@grass.itc.it>. You can sign up on the GRASS home web page. You
should then unsubscribe to the Baylor version]
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
From: Zbigniew Perski <perski@us.edu.pl>
Date: Tue, 29 Aug 2006 15:49:41 +0200
To: GRASSLIST <grasslist@baylor.edu>
Subject: [GRASS-user] [GRASSLIST:1181] d.m/d.gis mysteries..
Hi all...
I am trying to understand how d.gis and d.m works in a new grass6.1.0
version.
I have previously used grass6.1.cvs version from 0.4.feb.2006 which I
like a lot.
The first mystery (for me) is that the files at d.m/menu.tcl:
465 lines including all menu positions - my old cvs version
45(!) lines including SOME menu positions - new 6.1.0
why is like that? What is more strange I could not find other file where
the rest of menus are stored
The second mystery (for me) is d.gis. It is very nice but still I can
not understand how to use it.
For use it I mean to be able to display the results of some of my
scripts.
I have developed bunch of scripts for very specific data visualization.
I have even integrated them with gui of the previous version (I mean
mentioned cvs). My scripts unfortunately does not working with the new
d.gis. Of course I have always switch to d.m but it also need some
adjustment (see 'mystery 01').
I will be very happy if somebody can explain me how to port e.g. the
script which is using e.g. d.what.vect command or the script which
utilize multiple call to d.vect.thematic and displaying the results on
the same display.
Best regards
Zbigniew
Michael Barton wrote on 08/29/2006 08:42 PM:
The GIS Manager (gis.m) is the default GUI interface in 6.1+. In 6.1, we've
maintained the old GUI interface (d.m) for legacy compatibility. To help
keep the menus in sync, there is a common menu file for both (menu.tcl). The
menu items file for gis.m (gmmenu.tcl) reads menu.tcl for all items it has
in common with d.m. For a few new items (e.g., georectifier), it adds them
into its own menu file.
Question: can we remove
gui/tcltk/d.m/menu.tcl
then since it is unused?
I am anticipating that we'll drop d.m completely for 6.2 and merge all the
menu items back into a single file
To avoid confusion: it is not dropped for 6.2, it even (still?) exists
in 6.3.
Markus
Following discussions with Hamish, it seems best to leave things as they are
for 6.2.
In 6.3, I recommend 'decoupling' the menus of d.m and gis.m so as to make
continued updating of the latter easier.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
From: Markus Neteler <neteler@itc.it>
Date: Wed, 30 Aug 2006 18:00:52 +0200
To: Michael Barton <michael.barton@asu.edu>
Cc: 'GRASS user list' <grassuser@grass.itc.it>
Subject: Re: [GRASS-user] [GRASSLIST:1181] d.m/d.gis mysteries..
Michael Barton wrote on 08/29/2006 08:42 PM:
The GIS Manager (gis.m) is the default GUI interface in 6.1+. In 6.1, we've
maintained the old GUI interface (d.m) for legacy compatibility. To help
keep the menus in sync, there is a common menu file for both (menu.tcl). The
menu items file for gis.m (gmmenu.tcl) reads menu.tcl for all items it has
in common with d.m. For a few new items (e.g., georectifier), it adds them
into its own menu file.
Question: can we remove
gui/tcltk/d.m/menu.tcl
then since it is unused?
I am anticipating that we'll drop d.m completely for 6.2 and merge all the
menu items back into a single file
To avoid confusion: it is not dropped for 6.2, it even (still?) exists
in 6.3.
Markus
Dear Michael and Markus,
Thanks a lot for response. Of course the problem I was mentioned is
related to gis.m not d.gis - sorry about that.
From followed discussion I see that it is really something not easy but
I would like to ask my questions again (in a more direct way I guess):
1. Is it possible to display result of grass bash script with gis.m?
2. If it is possible what should I modify in my scripts to be able to do
that?
Best regards
Zbigniew
On Wed, 2006-08-30 at 09:11 -0700, Michael Barton wrote:
Following discussions with Hamish, it seems best to leave things as they are
for 6.2.
In 6.3, I recommend 'decoupling' the menus of d.m and gis.m so as to make
continued updating of the latter easier.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
> From: Markus Neteler <neteler@itc.it>
> Date: Wed, 30 Aug 2006 18:00:52 +0200
> To: Michael Barton <michael.barton@asu.edu>
> Cc: 'GRASS user list' <grassuser@grass.itc.it>
> Subject: Re: [GRASS-user] [GRASSLIST:1181] d.m/d.gis mysteries..
>
> Michael Barton wrote on 08/29/2006 08:42 PM:
>> The GIS Manager (gis.m) is the default GUI interface in 6.1+. In 6.1, we've
>> maintained the old GUI interface (d.m) for legacy compatibility. To help
>> keep the menus in sync, there is a common menu file for both (menu.tcl). The
>> menu items file for gis.m (gmmenu.tcl) reads menu.tcl for all items it has
>> in common with d.m. For a few new items (e.g., georectifier), it adds them
>> into its own menu file.
>>
> Question: can we remove
> gui/tcltk/d.m/menu.tcl
> then since it is unused?
>
>> I am anticipating that we'll drop d.m completely for 6.2 and merge all the
>> menu items back into a single file
>>
> To avoid confusion: it is not dropped for 6.2, it even (still?) exists
> in 6.3.
>
> Markus
>
>
_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser
Zbigniew Perski wrote:
Thanks a lot for response. Of course the problem I was mentioned is
related to gis.m not d.gis - sorry about that.
>From followed discussion I see that it is really something not easy but
I would like to ask my questions again (in a more direct way I guess):
1. Is it possible to display result of grass bash script with gis.m?
2. If it is possible what should I modify in my scripts to be able to do
that?
If the script is non-interactive and works with the PNG driver, you
can use a command layer to display its output.
If it requires an X monitor or terminal, you will need to modify
menu.tcl to run it as an external command.
--
Glynn Clements <glynn@gclements.plus.com>
Most GRASS commands create or modify maps. You can display any map in gis.m.
It is not clear what you want to do. If you'd like a shell-script to
automatically create a display, you cannot do this in gism, because the
display is done within TclTk. You can have a shell script use GRASS commands
to display a map in an xterminal or in some kind of viewer that will
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
From: Zbigniew Perski <perski@us.edu.pl>
Date: Thu, 31 Aug 2006 11:30:29 +0200
To: Michael Barton <michael.barton@asu.edu>
Cc: 'GRASS user list' <grassuser@grass.itc.it>
Subject: Re: [GRASS-user] [GRASSLIST:1181] d.m/d.gis mysteries..
Dear Michael and Markus,
Thanks a lot for response. Of course the problem I was mentioned is
related to gis.m not d.gis - sorry about that.
From followed discussion I see that it is really something not easy but
I would like to ask my questions again (in a more direct way I guess):
1. Is it possible to display result of grass bash script with gis.m?
2. If it is possible what should I modify in my scripts to be able to do
that?
Best regards
Zbigniew
On Wed, 2006-08-30 at 09:11 -0700, Michael Barton wrote:
Following discussions with Hamish, it seems best to leave things as they are
for 6.2.
In 6.3, I recommend 'decoupling' the menus of d.m and gis.m so as to make
continued updating of the latter easier.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
From: Markus Neteler <neteler@itc.it>
Date: Wed, 30 Aug 2006 18:00:52 +0200
To: Michael Barton <michael.barton@asu.edu>
Cc: 'GRASS user list' <grassuser@grass.itc.it>
Subject: Re: [GRASS-user] [GRASSLIST:1181] d.m/d.gis mysteries..
Michael Barton wrote on 08/29/2006 08:42 PM:
The GIS Manager (gis.m) is the default GUI interface in 6.1+. In 6.1, we've
maintained the old GUI interface (d.m) for legacy compatibility. To help
keep the menus in sync, there is a common menu file for both (menu.tcl).
The
menu items file for gis.m (gmmenu.tcl) reads menu.tcl for all items it has
in common with d.m. For a few new items (e.g., georectifier), it adds them
into its own menu file.
Question: can we remove
gui/tcltk/d.m/menu.tcl
then since it is unused?
I am anticipating that we'll drop d.m completely for 6.2 and merge all the
menu items back into a single file
To avoid confusion: it is not dropped for 6.2, it even (still?) exists
in 6.3.
Markus
_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser
Sorry,
This got sent before I was finished. I'll complete my answer below.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
Most GRASS commands create or modify maps. You can display any map in gis.m.
It is not clear what you want to do. If you'd like a shell-script to
automatically create a display, you cannot do this in gism, because the
display is done within TclTk. This is an interactive display and is designed
to be controlled by the user, not a script.
You can have a shell script use GRASS commands to display a map in an
xterminal or activate some kind of viewer that will display PNG or PPM
graphic files.
Michael
From: Zbigniew Perski <perski@us.edu.pl>
Date: Thu, 31 Aug 2006 11:30:29 +0200
To: Michael Barton <michael.barton@asu.edu>
Cc: 'GRASS user list' <grassuser@grass.itc.it>
Subject: Re: [GRASS-user] [GRASSLIST:1181] d.m/d.gis mysteries..
Dear Michael and Markus,
Thanks a lot for response. Of course the problem I was mentioned is
related to gis.m not d.gis - sorry about that.
From followed discussion I see that it is really something not easy but
I would like to ask my questions again (in a more direct way I guess):
1. Is it possible to display result of grass bash script with gis.m?
2. If it is possible what should I modify in my scripts to be able to do
that?
Best regards
Zbigniew
On Wed, 2006-08-30 at 09:11 -0700, Michael Barton wrote:
Following discussions with Hamish, it seems best to leave things as they are
for 6.2.
In 6.3, I recommend 'decoupling' the menus of d.m and gis.m so as to make
continued updating of the latter easier.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
From: Markus Neteler <neteler@itc.it>
Date: Wed, 30 Aug 2006 18:00:52 +0200
To: Michael Barton <michael.barton@asu.edu>
Cc: 'GRASS user list' <grassuser@grass.itc.it>
Subject: Re: [GRASS-user] [GRASSLIST:1181] d.m/d.gis mysteries..
Michael Barton wrote on 08/29/2006 08:42 PM:
The GIS Manager (gis.m) is the default GUI interface in 6.1+. In 6.1,
we've
maintained the old GUI interface (d.m) for legacy compatibility. To help
keep the menus in sync, there is a common menu file for both (menu.tcl).
The
menu items file for gis.m (gmmenu.tcl) reads menu.tcl for all items it has
in common with d.m. For a few new items (e.g., georectifier), it adds them
into its own menu file.
Question: can we remove
gui/tcltk/d.m/menu.tcl
then since it is unused?
I am anticipating that we'll drop d.m completely for 6.2 and merge all the
menu items back into a single file
To avoid confusion: it is not dropped for 6.2, it even (still?) exists
in 6.3.
Markus
_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser