#254 closed defect (fixed)
wxpython Layer Manager: higher raster hides the lower
Reported by: | giohappy | Owned by: | |
---|---|---|---|
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)
Change History (5)
by , 16 years ago
Attachment: | overlay_test.jpg added |
---|
follow-up: 2 comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | svn-trunk → svn-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
follow-up: 3 comment:2 by , 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...
follow-up: 4 comment:3 by , 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
comment:4 by , 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.
Narrow strip raster overlaying another raster