#254: wxpython Layer Manager: higher raster hides the lower
----------------------+-----------------------------------------------------
Reporter: giohappy | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: Linux
Cpu: x86-32 |
----------------------+-----------------------------------------------------
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.
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.
SVN trunk now produces GRASS 7 (and a lot is broken due to heavy
development).
There shouldn't really be all that much broken. In particular, the GUI
(both gis.m and wxgui) should be unaffected.
The modules which are known to be broken (and are likely to stay
broken for a while or even permanently) are those which interact with
the user via a terminal or by using the mouse with XDRIVER.
Anything which runs without interaction (i.e. anything used internally
by the GUI or run from the GUI without using run_xterm or
guarantee_xmon) is supposed to work.
[Both of those features may as well be removed from gis.m in 7.x.
Anything which requires them is dead.]
Of course, with so many changes being made, bugs may get introduced,
but those can usually be fixed quickly when they are pointed out (and
the time taken to identify such bugs depends heavily upon the amount
of testing they get).
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...
Replying to [comment:2 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.
Replying to [comment:3 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.