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

GRASS GIS trac at osgeo.org
Mon Jan 17 01:44:39 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 cmbarton):

 Here is more info.

 Both of the zoom lines call an instance of BufferedMap.ZoomToMap() in
 mapdisplay_window.py

 ZoomToMap() calls UpdateMap, which does a GetClientSize(), which returns
 (0,0). This is the problem. Previous calls to UpdateMap return non-zero
 values for GetClientSize().

 Prior to calling UpdateMap, ZoomToMap calls an instance of Map.GetRegion()
 in render.py. This seems to go OK, but I can't tell for sure. GetRegion
 does GISRC switching.

 So any ideas here?

 Michael

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



More information about the grass-dev mailing list