[GRASS-dev] Re: georectifier fixes for Debian
Markus Neteler
neteler at itc.it
Thu Nov 2 18:13:45 EST 2006
Michael, all,
I have backported the today's changes to gis.m in 6.2-cvs.
Also re-done the CVS snapshot for easy testing:
http://grass.itc.it/grass62/source/snapshot/
Markus
On Thu, Nov 02, 2006 at 03:40:02PM -0700, Michael Barton wrote:
> Otto and Hamish,
>
> I got a student here with Debian Ubuntu (Mepis) to try the --ui switch for
> the i.group command in georectify.tcl. It seems to solve the problem of
> i.group flashing on and off.
>
> Thanks very much Hamish for suggesting it. It's in the cvs now. I'm copying
> Markus so that he can backport it to 6.2.1
>
> 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: Otto Dassau <otto.dassau at gmx.de>
> > Date: Thu, 2 Nov 2006 19:40:48 +0100
> > To: Michael Barton <michael.barton at asu.edu>
> > Cc: Hamish <hamish_nospam at yahoo.com>, <grass-dev at grass.itc.it>
> > Subject: Re: georectifier fixes
> >
> > On Thu, 02 Nov 2006 06:22:56 -0700
> > Michael Barton <michael.barton at asu.edu> wrote:
> >
> >> I'm a bit confused. Could clarify the following.
> >
> > Hi,
> >
> >> 1. Did the new georect.tcl work -- the one in the 6.3 head? This one
> >> *should* switch to the source mapset, run i.group, and wait until you're
> >> done before switching back to the target mapset.
> >
> > yes, it works in the 6.3 head here. I rectified a map this morning using the
> > georectifier in 6.3 head.
> >
> >> 2. If it did not work, did you get the following error with the newest
> >> georect.tcl?
> >> Error: Parameter <group> not set:
> >> This is an i.group error that suggests this grass command failed for some
> >> reason
> >>
> >> 3. If the newest version (i.e., in the 6.3 head) works with adding the --ui
> >> switch, that's fantastic. But I need to know if that actually fixes it for
> >> you guys or if it was already fixed without this.
> >
> > the i.group window opens, but when I close the "error" message below appears,
> > but I can still go on rectiifying.
> >
> > child process exited abnormally
> > child process exited abnormally
> > while executing
> > "exec -- $cmd --ui"
> > (procedure "GRMap::group" line 17)
> > invoked from within
> > "GRMap::group"
> > ("uplevel" body line 1)
> > invoked from within
> > "uplevel \#0 $cmd"
> > (procedure "Button::_release" line 18)
> > invoked from within
> > "Button::_release .grstart.mf.frame.group.a"
> > (command bound to event)
> > and set GCPs
> >
> > is it clearer now?
> >
> > regards,
> > Otto
> >
> > PS: currently I am only online from time to time - sorry.
> >
> >>> works:
> >
> >> 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: Otto Dassau <otto.dassau at gmx.de>
> >>> Date: Thu, 2 Nov 2006 10:11:33 +0100
> >>> To: Hamish <hamish_nospam at yahoo.com>
> >>> Cc: <michael.barton at asu.edu>, <grass-dev at grass.itc.it>
> >>> Subject: Re: georectifier fixes
> >>>
> >>> On Thu, 2 Nov 2006 21:11:25 +1300
> >>> Hamish <hamish_nospam at yahoo.com> wrote:
> >>>
> >>>> Otto Dassau wrote:
> >>>>>
> >>>>> changing line 347 as proposed by Michael in
> >>>>> $GISBASE/etc/gm/georect.tcl
> >>>>>
> >>>>> # catch {exec -- $cmd}
> >>>>> exec -- $cmd
> >>>>>
> >>>>> sais sth. like:
> >>>>>
> >>>>> Error: Parameter <group> not set:
> >>>>>
> >>>>> maybe this helps: In GRASS 6.2.0RC3 it worked.
> >>>>
> >>>>
> >>>> try
> >>>>
> >>>> exec -- $cmd --ui
> >>>>
> >>>> to force GUI mode.
> >>>
> >>> now it works. Clicking on the edit/create button opens the i.group window.
> >>>
> >>>> but is that running in current mapset (wrong) or switched to target
> >>>> mapset (correct)?
> >>>
> >>> what do you mean here, it is running in current mapset. I list my procedure,
> >>> maybe I missunderstand:
> >>>
> >>> - I start GRASS in spearfish/PERMANENT
> >>> - I Import a not geocoded map (topographic map)
> >>> - I start georectifier
> >>> - I choose mapset PERMANENT
> >>> - I choose a new group and the map I want to rectify
> >>> - When I close the i.group window following message appears, but it still
> >>> works:
> >>>
> >>> child process exited abnormally
> >>> child process exited abnormally
> >>> while executing
> >>> "exec -- $cmd --ui"
> >>> (procedure "GRMap::group" line 17)
> >>> invoked from within
> >>> "GRMap::group"
> >>> ("uplevel" body line 1)
> >>> invoked from within
> >>> "uplevel \#0 $cmd"
> >>> (procedure "Button::_release" line 18)
> >>> invoked from within
> >>> "Button::_release .grstart.mf.frame.group.a"
> >>> (command bound to event)
> >>> and set GCPs
> >>>
> >>> - Then I select the group a just created
> >>> - I select the map to rectify
> >>> - I start to set my GCPs and rectify.
> >>> - The result is ok and in stored the current mapset PERMANENT.
> >>>
> >>>
> >>> BTW: Is it intended that there are two ways to use the module?
> >>>
> >>> a) I set GCPs and fill in the appropriate coordinates in the 2nd column
> >>> manually.
> >>> b) I set GCPs and fill in the appropriate coordinates interactively opening
> > a
> >>> second monitor with a reference map where I click in the map to find
> >>> the right coordinates. The coordinates are inserted in the rectifier then...
> >>>
> >>> regards,
> >>> Otto
> >>>
> >>>> Hamish
> >>>>
> >>>
> >>
> >
> >
> > --
> >
>
--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy
More information about the grass-dev
mailing list