[GRASS-user] GUI equivalent of command

The d.* commands are replaced in the GUI by GUI functions. That is, with few
exceptions, you can't call a d.* command from the GUI because they are for
x-monitors only--and the GUI display is a TclTk or wxPython canvas. There
are GUI equivalents for most d.* commands.

For querying, make sure that you have set the computational region to match
the display extents before querying.

Michael

On 5/30/08 2:00 PM, "grass-user-request@lists.osgeo.org"
<grass-user-request@lists.osgeo.org> wrote:

Message: 7
Date: Fri, 30 May 2008 21:10:28 +0200
From: Nikos Alexandris <nikos.alexandris@felis.uni-freiburg.de>
Subject: Re: [GRASS-user] GUI equivalent of command
To: "H.S.Rai" <hs@raiandrai.com>
Cc: GRASS user list <grass-user@lists.osgeo.org>
Message-ID: <1212174628.7241.30.camel@vertical>
Content-Type: text/plain

On Fri, 2008-05-30 at 21:07 +0200, Nikos Alexandris wrote:

On Sat, 2008-05-31 at 00:25 +0530, H.S.Rai wrote:

On Wed, May 28, 2008 at 9:47 AM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:

1. While you move the mouse-pointer over the menus in the GIS-Manager,
the "real" name of each module is displayed on the bottom of the window

Where is GUI of "d.*" commands? I could not find GUI equivalent of
d.what.rast, I am using Grass 6.2.2.

Rai,

my quick-feedback:

On the Map Display you need to use the Query button (AFTER the "Zoom
to..." and BEFORE the "Measure" buttons).

Well, the Raster > Query by coordinates (which is r.what). d.what.rast
is for the X monitors. If I am wrong please correct me.

__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
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

On Sat, May 31, 2008 at 3:44 AM, Michael Barton <michael.barton@asu.edu> wrote:

The d.* commands are replaced in the GUI by GUI functions. That is, with few
exceptions, you can't call a d.* command from the GUI because they are for
x-monitors only--and the GUI display is a TclTk or wxPython canvas. There
are GUI equivalents for most d.* commands.

Thanks to Nikos Alexandris and Michael Barton for responding.

From above discussion, it looks there is no GUI equivalent (and there

may be many such other commands) for TclTk canvas. That mean I will
not be able to develop GUI based Tutorial for Leics dataset. I will be
difficult for beginners (who never worked on Linux/Unix and in Command
Line CUI mode) to GRASS to work with X-monitor (Monitor X0) and Map
Display 1.

Is there way to show results of commands given in terminal window to
Map Display Screen?

--
H.S.Rai
http://hs.raiandrai.com/

On Sat, May 31, 2008 at 8:09 AM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:

here is my attempt for a smooth transition from the GUI to the command
line:
http://www.isprs-studentconsortium.org/assets/files/Material_reports/Volume_2_No2/CORINE_withGRASS.pdf

<snip>

Concerning your question "Is there way to show results of commands given
in terminal window to Map Display Screen?"

Yes, the Output display.

Could not get it. May I ask for syntax / complete command.

With regards,

--
Dr. H.S.Rai
http://hs.raiandrai.com/

---
I can tell you my experience shortly:

The most difficult thing was to understand the structure of the database
in the beginning. And using a command was indeed scary.

But once you have:

1. the structure of the database on your mind (central folder > projects

location #one for each projection system > data sorted by GRASS

#vector, raster, etc)
2. the computationa region and the grid resolution
3. the MASK (what is it, how it works, how to use)
4. the fact that you have to connect first to the database for vector
data
5. the fact that when you copy from a PERMANENT mapset data in a
user-mapset automatically an attribute table will be created coming from
the vector data of course
5. the use of the Output window to see what is the result of a command
(your question above)
6. some more + regular use of course

...then all starts to get easier and exciting.

---

Maybe starting with pre-existing datasets is better so you avoid the
very first FEAR of creating a Location.

You might find this interview interesting and pass it over to cause
curiosity to the students (or maybe not!)
http://www.isprs-studentconsortium.org/assets/files/Material_reports/Volume_2_No1/GRASS-GIS_OpenInterview.pdf

---

Cheers,

Nikos

On Sat, 2008-05-31 at 08:35 +0530, H.S.Rai wrote:
[...]

>
> Yes, the Output display.

Could not get it. May I ask for syntax / complete command.

Hmmm?

When you launch GRASS you have 3 windows: GIS-Manager, Map display and
Output display.

On Sat, May 31, 2008 at 9:22 AM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:

Could not get it. May I ask for syntax / complete command.

When you launch GRASS you have 3 windows: GIS-Manager, Map display and
Output display.

The command given in Output Display shows results in "Monitor X0", and
not in "Map Display 1", which I want. Giving command in Terminal
Window or Output Display, both show result in X-monitor.

--
H.S.Rai
http://hs.raiandrai.com/