[GRASS-dev] wxGUI: zoom-to missing in RGB mode

Hi,

when adding an RGB image to the wxGUI, it is not possible to
get the Zoom to selected map(s)" function in the right-mouse-button
dialog.
Would it be possible to add this to the context menu?

thanks
Markus

On Tue, Sep 29, 2009 at 5:02 PM, Markus Neteler <neteler@osgeo.org> wrote:

Hi,

when adding an RGB image to the wxGUI, it is not possible to
get the Zoom to selected map(s)" function in the right-mouse-button
dialog.
Would it be possible to add this to the context menu?

Additional observation (bug): When loading an RGB set into the wxGUI,
it contains the extension .red in the "map" name which should be omitted
(stripped off) since a RGB composite is shown - currently it is a bit
misleading...

thanks
Markus

MN:

Additional observation (bug): When loading an RGB set into
the wxGUI, it contains the extension .red in the "map" name which
should be omitted (stripped off) since a RGB composite is shown
- currently it is a bit misleading...

I saw the same today and wondered if that layer line could be \n 'd
to 3 lines long somehow.

Hamish

Additional observation (bug): When loading an RGB set into
the wxGUI, it contains the extension .red in the "map" name which
should be omitted (stripped off) since a RGB composite is shown

... but I was looking at LANDSAT band numbers, so no .red, .green, .blue
to strip off.

H

Hi,

2009/9/29 Markus Neteler <neteler@osgeo.org>:

when adding an RGB image to the wxGUI, it is not possible to
get the Zoom to selected map(s)" function in the right-mouse-button
dialog.
Would it be possible to add this to the context menu?

done in r39334 (backported to devbr6, relbr64)

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Hi,

2009/9/29 Markus Neteler <neteler@osgeo.org>:

Additional observation (bug): When loading an RGB set into the wxGUI,
it contains the extension .red in the "map" name which should be omitted
(stripped off) since a RGB composite is shown - currently it is a bit
misleading...

try r39337 (also backported to devbr6). I would not suggest backport to relbr64.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

On Tue, Sep 29, 2009 at 6:53 PM, Hamish <hamish_b@yahoo.com> wrote:

Additional observation (bug): When loading an RGB set into
the wxGUI, it contains the extension .red in the "map" name which
should be omitted (stripped off) since a RGB composite is shown

... but I was looking at LANDSAT band numbers, so no .red, .green, .blue
to strip off.

Alternative idea:
keep only what's common in the three names:

lsat.1 + lsat.2 + lsat.3 => lsat[.rgb]
ortho.red + ortho.green + ortho.blue => ortho[.rgb]

If nothing is in common, then simply attach with / separator:
string + strong + strung => string/strong/strung[.rgb]

Markus

On Tue, Sep 29, 2009 at 8:25 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2009/9/29 Markus Neteler <neteler@osgeo.org>:

Additional observation (bug): When loading an RGB set into the wxGUI,
it contains the extension .red in the "map" name which should be omitted
(stripped off) since a RGB composite is shown - currently it is a bit
misleading...

try r39337 (also backported to devbr6). I would not suggest backport to relbr64.

thanks for both! My basic problem is that I cannot launch wxGUI for
several weeks meanwhile... so no testing possible.
The old map pops up, then closes and that's it. In strace I see a

--- SIGCHLD (Child exited) @ 0 (0) ---

Location manager and such work!

Using 6.4.0svn, recompiled from scratch now, and
rpm -qa | grep wx | sort
lib64wxgtk2.8-2.8.9-3.2mdv2009.1
lib64wxgtk2.8-devel-2.8.9-3.2mdv2009.1
lib64wxgtkgl2.8-2.8.9-3.2mdv2009.1
lib64wxgtku2.8-2.8.9-3.2mdv2009.1
lib64wxPythonGTK2.8-2.8.9.2-2mdv2009.1
lib64wxPythonGTK2.8-devel-2.8.9.2-2mdv2009.1
wxgtk2.8-2.8.9-3.2mdv2009.1
wxPythonGTK-2.8.9.2-2mdv2009.1
wxPythonGTK-tools-2.8.9.2-2mdv2009.1
wxPythonGTK-wxversion-2.8.9.2-2mdv2009.1

on a 64bit Mandriva box. AFAIK I am not the only one with this
problem.

Markus