#2030: wxgui doesn't allow to query invisible map layers
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
It's not possible any more to query invisible (inactive) map layers.
Steps to reproduce:
* add a raster layer to layer manager;
* remove check to not display/render raster map layer;
* use query tool to read raster value.
Outcome: error message "no map layer selected for query..." (which is not
true as there is a selected layer in the layer manager) but instead it
should simply display result.
Replying to [comment:1 annakrat]:
> It was intended behavior so the fix is easy (r57057) but I agree new
bahavior makes sense.
As most of (all?) GIS programs allow to query any layer despite it's
visibility status, it makes sense to keep as is.
Note - ArcGIS and QGIS both allow to choose "query only visible layers" as
an option but default usually is "query all/active". If such behaviour is
wanted, it should be opt-in, like in other GIS packages.
Thanks for fix. Closing it as various query options should be a separate
enhancement.
> As most of (all?) GIS programs allow to query ...
...
> Note - ArcGIS and QGIS both allow to choose ...
IMHO what other software packages decide to do is irrelevant, unless the
goal is to just be yet-another clone. While learning from others, we
should do what makes the most sense for GRASS, and that way build a better
product.