GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
d.to.rast(1) GRASS GIS User's Manual d.to.rast(1)

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

display, export, raster

d.to.rast
d.to.rast --help
d.to.rast output=name [--overwrite] [--help] [--verbose] [--quiet] [--ui]

--overwrite

Allow output files to overwrite existing files
--help

Print usage summary
--verbose

Verbose module output
--quiet

Quiet module output
--ui

Force launching GUI dialog

output=name [required]

Name for output raster map

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

We combine different raster and vector map layers to create a composite layer which can be draped over elevation in 3D view. First, we add a couple of maps to layer manager:

g.region raster=elevation
d.rast map=elevation
d.rast map=lakes
d.vect map=roadsmajor width=4
d.vect map=roadsmajor width=2 color=yellow
# create a raster map from the display
d.to.rast output=composite

Then uncheck all layers except for elevation and switch to 3D view. In Data tab, set color map to the newly created composite map.

Figure: Raster map created by d.to.rast draped over digital elevation model.

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

Anna Petrasova, NCSU OSGeoREL

Available at: d.to.rast source code (history)

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

© 2003-2021 GRASS Development Team, GRASS GIS 7.8.6 Reference Manual

GRASS 7.8.6

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.