1d.to.rast(1)                GRASS GIS User's Manual               d.to.rast(1)
2
3
4

NAME

6       d.to.rast   -  Saves  the  contents  of the active display monitor to a
7       raster map.
8

KEYWORDS

10       display, export, raster
11

SYNOPSIS

13       d.to.rast
14       d.to.rast --help
15       d.to.rast output=name  [--overwrite]  [--help]  [--verbose]   [--quiet]
16       [--ui]
17
18   Flags:
19       --overwrite
20           Allow output files to overwrite existing files
21
22       --help
23           Print usage summary
24
25       --verbose
26           Verbose module output
27
28       --quiet
29           Quiet module output
30
31       --ui
32           Force launching GUI dialog
33
34   Parameters:
35       output=name [required]
36           Name for output raster map
37

DESCRIPTION

39       d.to.rast  saves  the  content of the currently selected monitor into a
40       raster map. The active monitor can be selected  with  d.mon.  d.to.rast
41       can  be  run from GUI Console tab, too. This module is not sensitive to
42       computational region settings.
43

EXAMPLE

45       We combine different raster and vector map layers to create a composite
46       layer  which  can be draped over elevation in 3D view.  First, we add a
47       couple of maps to layer manager:
48       g.region raster=elevation
49       d.rast map=elevation
50       d.rast map=lakes
51       d.vect map=roadsmajor width=4
52       d.vect map=roadsmajor width=2 color=yellow
53       # create a raster map from the display
54       d.to.rast output=composite
55
56       Then uncheck all layers except for elevation and switch to 3D view.  In
57       Data tab, set color map to the newly created composite map.
58
59       Figure:  Raster  map created by d.to.rast draped over digital elevation
60       model.
61

SEE ALSO

63        d.out.file, d.erase, d.rast, d.vect, d.mon
64

AUTHOR

66       Anna Petrasova, NCSU OSGeoREL
67

SOURCE CODE

69       Available at: d.to.rast source code (history)
70
71       Main index | Display index | Topics index | Keywords index |  Graphical
72       index | Full index
73
74       © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
75
76
77
78GRASS 7.8.5                                                       d.to.rast(1)
Impressum