Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#254 closed defect (fixed)

wxpython Layer Manager: higher raster hides the lower

Reported by: giohappy Owned by: grass-dev@…
Priority: critical Milestone: 6.4.0
Component: wxGUI Version: svn-develbranch6
Keywords: Cc:
CPU: x86-32 Platform: Linux

Description

If I put a raster A with a narrow BBOX above a wider raster B, the first completely hides the latter. I thought it was due to null values transparency, but it also happens beyond the A raster region, and even if I set A transparency to 0%. This doesn't happen with the tcltk GUI.

Attachments (1)

overlay_test.jpg (129.9 KB ) - added by cmbarton 16 years ago.
Narrow strip raster overlaying another raster

Download all attachments as: .zip

Change History (5)

by cmbarton, 16 years ago

Attachment: overlay_test.jpg added

Narrow strip raster overlaying another raster

comment:1 by cmbarton, 16 years ago

Resolution: fixed
Status: newclosed
Version: svn-trunksvn-develbranch6

I just checked this in GRASS 6.4 updated from the svn last night and it works fine. See the attached file.

Make sure that overlay is checked either in the properties dialog for the upper raster file or in the preferences settings.

Your track ticket suggests that you are working with an older version. SVN trunk now produces GRASS 7 (and a lot is broken due to heavy development). GRASS 6.4 is now retrieved from develbranch_6. There were some issues with this awhile back, but they were recently fixed.

Michael

in reply to:  1 ; comment:2 by giohappy, 16 years ago

I think the mistake is the fact that in the wxGUI the raster is displayed without -o flag as default, as it is in the tcltk GUI. The problem arises with vector layers now, but I will open another ticket...

in reply to:  2 ; comment:3 by martinl, 16 years ago

Replying to giohappy:

I think the mistake is the fact that in the wxGUI the raster is displayed without -o flag as default, as it is in the tcltk GUI.

You can change default settings in GUI Preferences dialog, tab "Command", "Raster settings". I am not quite sure if '--o' should be defaut for d.rast as it is in TCL/TK GUI.

Martin

in reply to:  3 comment:4 by glynn, 16 years ago

Replying to martinl:

I am not quite sure if '--o' should be defaut for d.rast as it is in TCL/TK GUI.

I think so. There doesn't seem to be much point in having layers if you only get to see the topmost one.

Also, consider using a patterned background (as per GIMP, PhotoShop etc), so that it's easier to distinguish the background from the layer (e.g. to eliminate "setting the null-value colour doesn't work" reports). The contrast should be a lot lower than for GIMP etc, though. Maybe 95%-grey/white, just enough to be visible.

Note: See TracTickets for help on using tickets.