other versions
- wheezy 6.4.2-2
- jessie 6.4.4-1
- testing 7.2.0-2
- unstable 7.2.0-2
- experimental 7.2.1-1~exp1
d.what.rast(1grass) | Grass User's Manual | d.what.rast(1grass) |
NAME¶
d.what.rast - Allows the user to interactively query the category contents of multiple raster map layers at user specified locations within the current geographic region.KEYWORDS¶
display, rasterSYNOPSIS¶
d.what.rastFlags:¶
- -1
-
- -t
-
- -c
-
- --verbose
-
- --quiet
-
Parameters:¶
- map=name[,name,...]
-
- fs=character
-
DESCRIPTION¶
d.what.rast outputs the category values and labels associated with cell(s) at user-specified location(s) on user-named raster map layer(s). The program will query the contents of raster map layer(s) named by the user on the command line. These map layers must exist in the user's current mapset search path. If the user does not name any raster map layers on the command line, d.what.rast will query the category contents of whatever raster map layer is already displayed in the active frame on the graphics monitor. The program activates the mouse, and expects the user to indicate the cell location(s) to be queried by depressing a mouse button over desired location(s) within the current geographic region in the active display frame on the graphic monitor.EXAMPLE¶
It is helpful, but not necessary, to first display a map to be used for reference in the active display frame before running d.what.rast. For example, the user might type the following series of commands and receive the output below.- d.rast map=soils
- d.what.rast map=soils,aspect
- d.what.rast -t map=soils,aspect
produces output in the form shown below. The first line of output gives the easting, northing, and the mouse button return value (see NOTES below). Each subsequent line gives the map name and its mapset, the category value, and category label of the point specified on the user-named raster map layers. The default output field separator, a colon, is used since none was specified on the command line.
NOTES¶
Mouse button return values are as follows: 0 indicates no button was pressed, 1 indicates that the left mouse button was pressed, 2 indicates the middle button was pressed, and 3 indicates that the right mouse button was pressed. d.what.rast will always print its output to the terminal screen. d.what.rast output can be redirected into a file; however, if it is, the output will go both to the screen and to the file. For example:- d.what.rast map=soils,aspect > what.out
SEE ALSO¶
d.rastAUTHOR¶
Michael Shapiro, U.S. Army Construction Engineering Research Laboratory Last changed: $Date: 2012-02-06 12:02:12 +0100 (Mon, 06 Feb 2012) $ Full index © 2003-2011 GRASS Development TeamGRASS 6.4.2 |