I'm looking for a way for a multiple query with mouse on GRASS6.2 or 6.3.
The Query button in the Map Display of Gis Manager returns the values of the
active (highlighted) map only, even if more maps are displayed.
The r.what command accessed through Raster > Query by coordinate(s) requires
to define the coordinates (even if this is defined as optional) and the
mouse can not be used.
The d.what.rast (and d.where)can be used in command line mode (lower part of
the Output window)but requires the opening of a new external monitor
(Otherwise: No graphics device selected).
Accidentally I discovered a strange and atypical way for a multiple query.
I highligh the name of a map in the map list of the Gis Manager. In the
panel 'Display raster maps' I manually insert the names of the other maps to
query, separated by commas. At this point the Query button displays the
content of all specified maps. This works but doesn't seem a neat solution.
Does anybody suggest a better way for a multiple query?
Your workaround is pretty neat. I don't know of any other at the moment
without some reprogramming of the UI. It's a nice idea though.
Michael
On 2/13/07 4:38 AM, "Aldo Clerici" <alcl01@ipruniv.cce.unipr.it> wrote:
Dear GRASSusers,
I'm looking for a way for a multiple query with mouse on GRASS6.2 or 6.3.
The Query button in the Map Display of Gis Manager returns the values of the
active (highlighted) map only, even if more maps are displayed.
The r.what command accessed through Raster > Query by coordinate(s) requires
to define the coordinates (even if this is defined as optional) and the
mouse can not be used.
The d.what.rast (and d.where)can be used in command line mode (lower part of
the Output window)but requires the opening of a new external monitor
(Otherwise: No graphics device selected).
Accidentally I discovered a strange and atypical way for a multiple query.
I highligh the name of a map in the map list of the Gis Manager. In the
panel 'Display raster maps' I manually insert the names of the other maps to
query, separated by commas. At this point the Query button displays the
content of all specified maps. This works but doesn't seem a neat solution.
Does anybody suggest a better way for a multiple query?
Thanks in advance
Aldo Clerici
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
I'm looking for a way for a multiple query with mouse on GRASS6.2 or
6.3. The Query button in the Map Display of Gis Manager returns the
values of the active (highlighted) map only, even if more maps are
displayed.
The r.what command accessed through Raster > Query by coordinate(s)
requires to define the coordinates (even if this is defined as
optional) and the mouse can not be used.
The d.what.rast (and d.where)can be used in command line mode (lower
part of the Output window)but requires the opening of a new external
monitor (Otherwise: No graphics device selected).
Accidentally I discovered a strange and atypical way for a multiple
query. I highligh the name of a map in the map list of the Gis
Manager. In the panel 'Display raster maps' I manually insert the
names of the other maps to query, separated by commas. At this point
the Query button displays the content of all specified maps. This
works but doesn't seem a neat solution.
Does anybody suggest a better way for a multiple query?
The query in gis.m only queries the currenly selected map, even though
r.what (which it calls) has the capacity to query multiple maps at the
same time. Your "," trick works from that.
Another command prompt way using d.where:
G63> d.where | r.what in=elevation.dem,slope,geology
it wuold be trivial to add possibility to select multiple maps in
gis.m, but it will need to change every place where one layer is
assumed. This may be too much. Unless somebody provides a working
patch, this should be left for wx GUI.
Aldo Clerici, You can open a wish (featire request) at GRASS bug
tracker so it will not be lost.
Maris.
2007/2/14, Hamish <hamish_nospam@yahoo.com>:
Aldo Clerici wrote:
> I'm looking for a way for a multiple query with mouse on GRASS6.2 or
> 6.3. The Query button in the Map Display of Gis Manager returns the
> values of the active (highlighted) map only, even if more maps are
> displayed.
>
> The r.what command accessed through Raster > Query by coordinate(s)
> requires to define the coordinates (even if this is defined as
> optional) and the mouse can not be used.
>
> The d.what.rast (and d.where)can be used in command line mode (lower
> part of the Output window)but requires the opening of a new external
> monitor (Otherwise: No graphics device selected).
>
> Accidentally I discovered a strange and atypical way for a multiple
> query. I highligh the name of a map in the map list of the Gis
> Manager. In the panel 'Display raster maps' I manually insert the
> names of the other maps to query, separated by commas. At this point
> the Query button displays the content of all specified maps. This
> works but doesn't seem a neat solution.
>
> Does anybody suggest a better way for a multiple query?
The query in gis.m only queries the currenly selected map, even though
r.what (which it calls) has the capacity to query multiple maps at the
same time. Your "," trick works from that.
Another command prompt way using d.where:
G63> d.where | r.what in=elevation.dem,slope,geology