Opened 10 years ago

Closed 7 years ago

#1076 closed defect (fixed)

georectify tool error

Reported by: clerici Owned by: grass-dev@…
Priority: normal Milestone: 6.4.0
Component: Tcl/Tk Version: 6.4.0 RCs
Keywords: georectify Cc:
CPU: Unspecified Platform: Linux

Description

I'm trying to rectify a map by the File > Rectify panel in tcltk GUI.
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.
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).

This happens with GRASS6.40RC5 and RC6, but not with GRASS6.3.1 (and, if I well remember, also 6.40RC3 worked OK).

Many thanks
Aldo Clerici

Attachments (1)

rectify.log (253 bytes) - added by clerici 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by clerici

Attachment: rectify.log added

comment:1 Changed 10 years ago by clerici

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

A.Clerici

comment:2 Changed 10 years ago by hamish

Component: defaultTcl
Keywords: georectify added
Summary: i.rectify errorgeorectify tool error

(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

comment:3 Changed 9 years ago by 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.
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.
What I described for the 'Zoom in' button also apply to the 'Pan' and 'Zoom out' ones.

A.Clerici

comment:4 in reply to:  3 Changed 9 years ago by mmetz

Replying to 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.
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.
What I described for the 'Zoom in' button also apply to the 'Pan' and 'Zoom out' ones.

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

comment:5 Changed 7 years ago by neteler

Resolution: fixed
Status: newclosed

Since fixed, closing.

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

Note: See TracTickets for help on using tickets.