wxGUI: zoom-to missing in RGB mode

8 messages Options
Embed this post
Permalink
Markus Neteler

wxGUI: zoom-to missing in RGB mode

Reply Threaded More More options
Print post
Permalink
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
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Markus Neteler

Re: wxGUI: zoom-to missing in RGB mode

Reply Threaded More More options
Print post
Permalink
On Tue, Sep 29, 2009 at 5:02 PM, Markus Neteler <[hidden email]> 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
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
hamish-2

Re: Re: wxGUI: zoom-to missing in RGB mode

Reply Threaded More More options
Print post
Permalink
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




_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
hamish-2

Re: Re: wxGUI: zoom-to missing in RGB mode

Reply Threaded More More options
Print post
Permalink
In reply to this post by Markus Neteler
> 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




_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Martin Landa

Re: wxGUI: zoom-to missing in RGB mode

Reply Threaded More More options
Print post
Permalink
In reply to this post by Markus Neteler
Hi,

2009/9/29 Markus Neteler <[hidden email]>:
> 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
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Martin Landa

Re: Re: wxGUI: zoom-to missing in RGB mode

Reply Threaded More More options
Print post
Permalink
In reply to this post by Markus Neteler
Hi,

2009/9/29 Markus Neteler <[hidden email]>:
> 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
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Markus Neteler

Re: Re: wxGUI: zoom-to missing in RGB mode

Reply Threaded More More options
Print post
Permalink
In reply to this post by hamish-2
On Tue, Sep 29, 2009 at 6:53 PM, Hamish <[hidden email]> 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
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Markus Neteler

Re: Re: wxGUI: zoom-to missing in RGB mode

Reply Threaded More More options
Print post
Permalink
In reply to this post by Martin Landa
On Tue, Sep 29, 2009 at 8:25 PM, Martin Landa <[hidden email]> wrote:
> Hi,
>
> 2009/9/29 Markus Neteler <[hidden email]>:
>> 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
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev