Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2030 closed defect (fixed)

wxgui doesn't allow to query invisible map layers

Reported by: marisn Owned by: grass-dev@…
Priority: minor Milestone: 7.0.0
Component: wxGUI Version: svn-trunk
Keywords: query Cc:
CPU: Unspecified Platform: Unspecified

Description

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.

Change History (3)

comment:1 by annakrat, 11 years ago

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

in reply to:  1 comment:2 by marisn, 11 years ago

Resolution: fixed
Status: newclosed

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

comment:3 by hamish, 11 years ago

Keywords: query added

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

Note: See TracTickets for help on using tickets.