[GRASS-dev] Re: [GRASS GIS] #1257: Georectifier is broken

GRASS GIS trac at osgeo.org
Mon Jan 17 08:57:59 EST 2011


#1257: Georectifier is broken
--------------------------+-------------------------------------------------
 Reporter:  cmbarton      |       Owner:  grass-dev@…              
     Type:  defect        |      Status:  new                      
 Priority:  blocker       |   Milestone:  6.4.1                    
Component:  wxGUI         |     Version:  unspecified              
 Keywords:  georectifier  |    Platform:  MacOSX                   
      Cpu:  OSX/Intel     |  
--------------------------+-------------------------------------------------

Comment(by mmetz):

 Replying to [comment:11 cmbarton]:
 > I found where the error is and can prevent it. But I don't yet know why
 this is a problem. Hopefully Markus M will have some ideas. The errors are
 generated by...[[BR]]
 >
 >
 > self.OnZoomToMap(None) in line 870
 >
 First case, a target map is specified when starting the georectifier:

 in trunk, gcpmapdisp.py L309 I have commented out a call to update the AUI
 Manager. That line was active in the original georectifer and may be
 needed on Mac. On msys however, activating this line causes havoc. On
 Linux, it does not matter.

 > and a similar call of ...
 >
 > self.parent.TgtMapWindow.ZoomToMap(layers =
 self.parent.TgtMap.GetListOfLayers()) in line 2739
 >
 Second case, the georectifier is started with a source map only and a
 target map is specified later on through the settings dialog:

 in trunk, gcpmanager.py, you can try to move lines 2745 and 2753 up by 3
 lines and insert them right after self.parent._mgr.GetPane(). The target
 map window (and its size) would now be updated by the AUI Manager before
 any call to ZoomToMap. Moving these lines does apparently not matter under
 msys or Linux.

 Markus M

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1257#comment:15>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list