[GRASS-dev] [GRASS GIS] #2030: wxgui doesn't allow to query invisible map layers

#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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2030&gt;
GRASS GIS <http://grass.osgeo.org>

#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 |
-------------------------+--------------------------------------------------

Comment(by annakrat):

It was intended behavior so the fix is easy (r57057) but I agree new
bahavior makes sense.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2030#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2030: wxgui doesn't allow to query invisible map layers
--------------------------+-------------------------------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords:
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by marisn):

  * status: new => closed
  * resolution: => fixed

Comment:

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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2030#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2030: wxgui doesn't allow to query invisible map layers
--------------------------+-------------------------------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords: query
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by hamish):

  * keywords: => query

Comment:

> 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.

2c,
Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2030#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>