Difference between revisions of "GRASS 6 Tutorial/Displaying spatial data"

From GRASS-Wiki
Jump to: navigation, search
m (Displaying from the CLI)
(Displaying from the CLI)
Line 10: Line 10:
  
 
You can navigate within the display monitor using a combination of <code>d.pan</code> and <code>d.zoom</code> in conjunction with the mouse buttons.
 
You can navigate within the display monitor using a combination of <code>d.pan</code> and <code>d.zoom</code> in conjunction with the mouse buttons.
 +
 +
Plotting an elevation profile between two points is done by running <code>d.profile</code>:
 +
 +
[[File:Dprofile-elevation.png|center|300px]]
  
 
===[http://grasswiki.osgeo.org/wiki/Quick_wxGUI_tutorial#Displaying_maps Displaying from the wxGUI]===
 
===[http://grasswiki.osgeo.org/wiki/Quick_wxGUI_tutorial#Displaying_maps Displaying from the wxGUI]===

Revision as of 14:45, 30 July 2013

Displaying spatial data with GRASS

This section of the tutorial explains how to display raster and vector data using GRASS GIS. We focus on two approaches: the first uses the CLI and the d.mon display monitors, while the second shows you how to use the GRASS wxGUI. This reader is redirected to the Quick wxGUI tutorial for more information on this topic.

Displaying from the CLI

d.mon start=x0
g.region rast=elevation
d.rast elevation

You can navigate within the display monitor using a combination of d.pan and d.zoom in conjunction with the mouse buttons.

Plotting an elevation profile between two points is done by running d.profile:

Dprofile-elevation.png

Displaying from the wxGUI