Opened 15 years ago
Closed 12 years ago
#1076 closed defect (fixed)
georectify tool error
Reported by: | clerici | Owned by: | |
---|---|---|---|
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)
Change History (6)
by , 15 years ago
Attachment: | rectify.log added |
---|
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Component: | default → Tcl |
---|---|
Keywords: | georectify added |
Summary: | i.rectify error → georectify 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
follow-up: 4 comment:3 by , 14 years ago
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 by , 14 years ago
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 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Since fixed, closing.
Note that there is the new georectifier in wxGUI: http://grass.osgeo.org/wiki/WxGUI#Georectifier_2
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