GRASS logo

Note: A new GRASS GIS stable version has been released: GRASS GIS 7.4, available here.
Updated manual page: here

NAME

d.rast - Displays user-specified raster map in the active graphics frame.

KEYWORDS

display, graphics, raster

SYNOPSIS

d.rast
d.rast --help
d.rast [-ni] map=name [values=value[-value][,value[-value],...]] [bgcolor=color] [--help] [--verbose] [--quiet] [--ui]

Flags:

-n
Make null cells opaque
-i
Invert value list
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

map=name [required]
Name of raster map to be displayed
values=value[-value][,value[-value],...]
List of categories or values to be displayed
bgcolor=color
Background color (for null)
Either a standard color name or R:G:B triplet
Default: white

Table of contents

DESCRIPTION

d.rast displays the specified raster map in the active display frame on the graphics monitor.

EXAMPLE

Display raster map "elevation":
d.rast map=elevation
d.rast elevation
Figure: elevation raster map visualization
Display raster map "elevation" but only the raster cells with values between 75 and 80 meters:
d.rast map=elevation values=75-80
d.rast elevation with values
Figure: elevation raster map showing values between 75 and 80 meters
Display raster map "landuse96_28m" but only categories 1 and 2:
d.rast landuse96_28m values=1,2
d.rast landuse
Figure: landuse raster map showing categories 1 and 2

SEE ALSO

d.rast.arrow, d.rast.num, d.rast.leg, d.legend, d.mon, d.erase, d.vect

wxGUI

AUTHOR

James Westervelt, U.S. Army Construction Engineering Research Laboratory

Last changed: $Date: 2017-12-19 08:31:06 -0800 (Tue, 19 Dec 2017) $

SOURCE CODE

Available at: d.rast source code (history)


Note: A new GRASS GIS stable version has been released: GRASS GIS 7.4, available here.
Updated manual page: here

Main index | Display index | Topics index | Keywords index | Graphical index | Full index

© 2003-2018 GRASS Development Team, GRASS GIS 7.2.3svn Reference Manual