Opened 15 years ago

Last modified 15 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 by mlennert, 15 years ago

Component: defaultwxGUI

in reply to:  description comment:2 by mlennert, 15 years ago

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 by cmbarton, 15 years ago

I think this is fixed. Can someone confirm?

Michael

in reply to:  3 comment:4 by mlennert, 15 years ago

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 by cmbarton, 15 years ago

Maybe it is only fixed in 6.4?

Michael

comment:6 by cmbarton, 15 years ago

fixed in r41307. Need to implement in 6.5 and 7

comment:7 by cmbarton, 15 years ago

Resolution: fixed
Status: newclosed

in reply to:  6 comment:8 by neteler, 15 years ago

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 by cmbarton, 15 years ago

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 by neteler, 15 years ago

Milestone: 6.4.06.5.0
Version: 6.4.0 RCssvn-develbranch6

comment:11 by cmbarton, 15 years ago

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.