[GRASS-dev] [GRASS GIS] #686: wxgui: georectify need to set region in XY location to extension of map to be able to see it

#686: wxgui: georectify need to set region in XY location to extension of map to
be able to see it
------------------------------+---------------------------------------------
Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Keywords: wxgui georectify | Platform: Unspecified
      Cpu: Unspecified |
------------------------------+---------------------------------------------
- import a non-georeferenced image into unprojected xy-location
- set region to n=1 s=0 w=0 e=1
- enter projected location
- launch georectify
-> the map is not visible and the button "zoom to selected map does not
work"

To be able to see the map, you have to adjust the computational region of
the xy-location to the extension of the map.

Moritz

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

#686: wxgui: georectify need to set region in XY location to extension of map to
be able to see it
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords: wxgui georectify
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by mlennert):

  * component: default => wxGUI

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

#686: wxgui: georectify need to set region in XY location to extension of map to
be able to see it
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords: wxgui georectify
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by mlennert):

Replying to [ticket:686 mlennert]:
> -> the map is not visible and the button "zoom to selected map does not
work"

To complement this, here's the traceback (possibly better to open a new
ticket for this):

{{{
Traceback (most recent call last):
   File "/home/mlennert/SRC/GRASS/grass64_release/dist.i486
-pc-linux-gnu/etc/wxpython/gui_modules/toolbars.py", line
361, in OnZoomMap

self.mapdisplay.MapWindow.ZoomToMap(layer=layer)
   File "/home/mlennert/SRC/GRASS/grass64_release/dist.i486
-pc-linux-gnu/etc/wxpython/gui_modules/mapdisp.py", line
2359, in ZoomToMap

for l in layer:
TypeError
:
'MapLayer' object is not iterable
}}}

Moritz

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

#686: wxgui: georectify need to set region in XY location to extension of map to
be able to see it
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords: wxgui georectify
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by cmbarton):

I think this is fixed. Can someone confirm?

Michael

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

#686: wxgui: georectify need to set region in XY location to extension of map to
be able to see it
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords: wxgui georectify
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by mlennert):

Replying to [comment:3 cmbarton]:
> I think this is fixed. Can someone confirm?

Nope, I still see the same problem in 6.5svn. Did you fix it there ?

Moritz

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

#686: wxgui: georectify need to set region in XY location to extension of map to
be able to see it
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords: wxgui georectify
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by cmbarton):

Maybe it is only fixed in 6.4?

Michael

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

#686: wxgui: georectify need to set region in XY location to extension of map to
be able to see it
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords: wxgui georectify
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by cmbarton):

fixed in r41307. Need to implement in 6.5 and 7

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

#686: wxgui: georectify need to set region in XY location to extension of map to
be able to see it
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: fixed | Keywords: wxgui georectify
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by cmbarton):

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

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

#686: wxgui: georectify need to set region in XY location to extension of map to
be able to see it
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords: wxgui georectify
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by neteler):

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

Comment:

Replying to [comment:6 cmbarton]:
> fixed in r41307. Need to implement in 6.5 and 7

Please don't close unfixed tickets.

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

#686: wxgui: georectify need to set region in XY location to extension of map to
be able to see it
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords: wxgui georectify
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by cmbarton):

I just fixed it in r41307. This is a 6.4 issue.

The code in 6.5 and 7 is completely different. I'm checking it there too.

Michael

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

#686: wxgui: georectify need to set region in XY location to extension of map to
be able to see it
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: wxgui georectify
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by neteler):

  * version: 6.4.0 RCs => svn-develbranch6
  * milestone: 6.4.0 => 6.5.0

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

#686: wxgui: georectify need to set region in XY location to extension of map to
be able to see it
--------------------------+-------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: wxgui georectify
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by cmbarton):

I just tested this and it appears to be already fixed in 6.5 and 7.0 (at
r41307 for both versions). Could you please test in another platform?

Michael

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