[GRASS-dev] [GRASS GIS] #1076: i.rectify error

#1076: i.rectify error
-------------------------+--------------------------------------------------
Reporter: clerici | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Keywords: | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
I'm trying to rectify a map by the File > Rectify panel in tcltk
GUI.[[BR]]
The map to be rectified is displayed in the "Displaying xy map to be
georectified" monitor. By clicking in the map the "local" coordinates of
the point are correctly inserted in the "Manage ground control points
(GCPs)" panel.[[BR]]
The map with the georeferenced coordinates is displayed on the "Map
Display". When a point is clicked on this map an error is output (see the
attached rectify.log).[[BR]]
  This happens with GRASS6.40RC5 and RC6, but not with GRASS6.3.1 (and, if
I well remember, also 6.40RC3 worked OK).[[BR]]
Many thanks[[BR]]
Aldo Clerici

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1076&gt;
GRASS GIS <http://grass.osgeo.org>

#1076: i.rectify error
----------------------+-----------------------------------------------------
  Reporter: clerici | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Resolution: | Keywords:
  Platform: Linux | Cpu: Unspecified
----------------------+-----------------------------------------------------
Comment (by clerici):

I reinstalled GRASS6.40RC3 and rectification through the File > Georectify
panel works fine.[[BR]]
In GRASS6.40RC6 also the rectification procedure with the wxpython GUI has
many troubles.[[BR]]

A.Clerici

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1076#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1076: georectify tool error
----------------------+-----------------------------------------------------
  Reporter: clerici | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Tcl | Version: 6.4.0 RCs
Resolution: | Keywords: georectify
  Platform: Linux | Cpu: Unspecified
----------------------+-----------------------------------------------------
Changes (by hamish):

  * keywords: => georectify
  * component: default => Tcl
  * summary: i.rectify error => georectify tool error

Comment:

(error is)

{{{
         can't read "b1coords": no such variable
         can't read "b1coords": no such variable
             while executing
         "$geoentry insert 0 $b1coords"
             invoked from within
         "if { [info exists geoentry] } {
                                 $geoentry insert 0 $b1coords
                         }"
             (command bound to event)
}}}

> In GRASS6.40RC6 also the rectification procedure with the
> wxpython GUI has many troubles.

details?

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1076#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1076: georectify tool error
-------------------------+--------------------------------------------------
Reporter: clerici | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: Tcl | Version: 6.4.0 RCs
Keywords: georectify | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by mmetz):

Replying to [comment:3 clerici]:
> After some trial I finally discovered that all the troubles in the
rectification procedure with the wxpython gui is due to a malfunction of
the functions in the panel with the map to georectify. I'll try to
explain.[[BR]]
> I have the map to georectify in the 'GRASS GIS Map .....(source
location)'. I click the 'Zoom in' button to enlarge a portion of the map.
Then I move to the 'GRASS GIS Map .......' where the georeferenced map is
displayed and I enlarge a portion with the 'Zoom in' button. Then I go
back to the map to georectify where the 'Zoom in' function is still active
and I try to Zoom in again, but when I click in the map a new point is
added. Same result if I click the 'Zoom in' button again when I go back
to the map to be georectified. It seems that the 'Set GCP' function is
automatically (and with no advice) activated when you go back to the map
to georectify. The problem can be overtaken by clicking any other button,
then the 'zoom in' one.[[BR]]
>
> What I described for the 'Zoom in' button also apply to the 'Pan' and
'Zoom out' ones. [[BR]]
>
Fixed in the new Ground Control Point Manager. There is now also a
confirmation dialog when setting coordinates by clicking on a map ("Set
GCP" mode must be active).

Markus M

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1076#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1076: georectify tool error
----------------------+-----------------------------------------------------
  Reporter: clerici | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.0
Component: Tcl/Tk | Version: 6.4.0 RCs
Resolution: fixed | Keywords: georectify
  Platform: Linux | Cpu: Unspecified
----------------------+-----------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => fixed

Comment:

Since fixed, closing.

Note that there is the new georectifier in wxGUI:
http://grass.osgeo.org/wiki/WxGUI#Georectifier_2

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1076#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>