[GRASS-user] GUI equivalent of command

Michael Barton michael.barton at asu.edu
Sat May 31 11:26:01 EDT 2008

Mr. Rai,

First, which version of GRASS are you using? The GUI in the current GRASS
6.3.0 works with a TclTk canvas, not an x-mon (e.g., x0). If you are using
an old version of GRASS, I highly recommend that you upgrade to 6.3.

Second, if you want to interact with a display--show a map, interactively
query a map, etc--you need to do so through the GUI, not by running d.*
commands. GRASS display commands (d.rast, d.what.rast, etc) will not work in
the GUI display without a lot of programming. Instead, use the buttons on
the display toolbar for zooming, querying, profiling, etc.

There is pretty good on-line help for the GUI. Look at GIS Manager help
under the Help menu in the main GUI window. This should be a good start for
your tutorial.

I hope this helps.


On 5/31/08 8:13 AM, "grass-user-request at lists.osgeo.org"
<grass-user-request at lists.osgeo.org> wrote:

> Date: Sat, 31 May 2008 10:50:31 +0530
> From: H.S.Rai <hs at raiandrai.com>
> Subject: Re: [GRASS-user] GUI equivalent of command
> To: "GRASS user list" <grass-user at lists.osgeo.org>
> Message-ID:
> <e46836620805302220w3c1eb1c0pd0eeb4613d93af47 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> On Sat, May 31, 2008 at 10:21 AM, Michael Barton <michael.barton at asu.edu>
> wrote:
>>> It 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.
>> I don't understand this at all. You have the equivalent FUNCTIONS in the
>> GUI,
> As I came to know from above discussion, it is not available for all
> such commands in category d.*
> <snip>
>> Instead of running d.rast from the command line to display in an x-monitor,
>> you add a raster map to the GUI layer manager and press the display button.
>> IMHO, this is considerably easier for beginners to do than to run commands.
> Only for this reason, I want develop a tutorial using GUI only. That's
> where I am facing problems, and I started this thread. Otherwise for
> me, commands in terminal window rules. I am putting this effort to
> attract beginners.
>> Have you actually TRIED either the TclTk or wxPython GUId???
> Yes. I only post on mailing list, after trying at my level best to
> find the solution at my level.
> I appreciate help rendered by you all nice GRASSians!
> -- 
> H.S.Rai

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

More information about the grass-user mailing list