[GRASS-user] Dumb Newbie Question - Georectifier
Michael Barton
michael.barton at asu.edu
Mon Mar 19 10:18:30 EDT 2007
Richard
The problems you are encountering are general to GRASS in transition. In all
earlier version of GRASS (<6.2), there was an underlying assumption that you
were working in a x11 terminal window. A number of modules (i.points for
example), created a user interface in that environment. This is relatively
foreign to most Mac users (although it is available) and not an option for
Windows users unless they operated in a Unix emulation program like Cygwin.
For the past year, there has been a concerted effort to revamp all GRASS
modules to make x11 terminal use options rather than required. Map displays
can now be seen in a TclTk Canvas (beginning in GRASS 6.2.1) rather than an
x11 monitor.
The new TclTk georeferencing tool wraps several GRASS commands in a TclTk
GUI with a TclTk display canvas. It replaces i.points and i.vpoints. So it
does georectification without the need for an x11 terminal interface. You
should not get any requests to type something into a (sometimes
none-existant) terminal. I don't know the details of the problems you
encountered with it in 6.2.1, but do know that it works pretty well in 6.3.
It needs some documentation, but shouldn't hang. Give it a try with the new
binaries and let me know how it goes.
Michael
On 3/19/07 2:51 AM, "rchirgwin at ozemail.com.au" <rchirgwin at ozemail.com.au>
wrote:
> (Thanks for Michael's note re new binaries, I will give it a try.)
>
> Hamish wrote:
>> Richard Chirgwin wrote:
>>
>>> I am learning my way around Grass-GIS, and have bumped into an
>>> apparent dead end.
>>>
>>> I am using Grass 6.2.1 on Mac OSX 10.4 on a Mac PowerBook.
>>>
>>> In the georectifier, I can get the monitor started and ready for
>>> entering points using i.group, i.target and i.points. When I mark the
>>> first point on the monitor, Grass switches to "keyboard input
>>> required".
>>>
>>> This is where I am stuck: I can type in the co-ordinates into the
>>> 'output' upper pane, but pressing "Return" achieves nothing. I can
>>> type the points into the bottom pane and use the "Run" button, but
>>> all I get is an error dialog.
>>>
>>> Can anyone advise?
>>>
>>
>> You are using i.points from the Imagery -> Rectify & Georeference image
>> group right? Not the command line or the other File->Georeference tool?
>>
> I gave up on the GUI interface because it hung. So I went through the
> command line ... the command line below the output pane.
> i.group
> i.target
> d.mon start=x0
> i.points
>
> After using the mouse Grass was asking for keyboard input. Nothing told
> me where to run keyboard input...
>> You can't type stuff into the Tcl GUI "Output" panel.
> ...as I found. But using the "run in X Windows button" at the bottom of
> the TCL panel started the Terminal window, which was not starting if I
> used the GUI. So that problem is fixed. If there's a documentation
> project, there should be an explicit remark that you have to launch the
> terminal for operations requiring input!
>
> Thanks for all the input. Still working on other things which I may
> submit to the list as separate questions!
>
> Richard
>> You need to do it
>> in the Terminal window. Running i.points from the Imagery menu should
>> bring up a terminal window for you to work in, not a GUI with a 'Run'
>> button.
>>
>> I'm surprised you get the "Run" button; i.points in GRASS 6.2.1 is set
>> up to open a terminal window and guarantee an x monitor is open, GUI or
>> no GUI. Trying William's 6.2.1 Mac binaries here I do get a xterm pop up
>> asking for the group name, as expected.
>>
>>
>> Maybe try running i.points from the command line after running "d.mon x0"
>> ?
>>
>>
>> Hamish
>>
>>
>
>
__________________________________________
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
More information about the grass-user
mailing list