Opened 10 years ago

Last modified 10 years ago

#686 reopened defect

wxgui: georectify need to set region in XY location to extension of map to be able to see it

Reported by: mlennert Owned by: grass-dev@…
Priority: normal Milestone: 6.5.0
Component: wxGUI Version: svn-develbranch6
Keywords: wxgui georectify Cc:
CPU: Unspecified Platform: Unspecified

Description

  • 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

Change History (11)

comment:1 Changed 10 years ago by mlennert

Component: defaultwxGUI

comment:2 in reply to:  description Changed 10 years ago by mlennert

Replying to 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

comment:3 Changed 10 years ago by cmbarton

I think this is fixed. Can someone confirm?

Michael

comment:4 in reply to:  3 Changed 10 years ago by mlennert

Replying to 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

comment:5 Changed 10 years ago by cmbarton

Maybe it is only fixed in 6.4?

Michael

comment:6 Changed 10 years ago by cmbarton

fixed in r41307. Need to implement in 6.5 and 7

comment:7 Changed 10 years ago by cmbarton

Resolution: fixed
Status: newclosed

comment:8 in reply to:  6 Changed 10 years ago by neteler

Resolution: fixed
Status: closedreopened

Replying to cmbarton:

fixed in r41307. Need to implement in 6.5 and 7

Please don't close unfixed tickets.

comment:9 Changed 10 years ago 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

comment:10 Changed 10 years ago by neteler

Milestone: 6.4.06.5.0
Version: 6.4.0 RCssvn-develbranch6

comment:11 Changed 10 years ago 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

Note: See TracTickets for help on using tickets.