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

From GRASS-Wiki
Jump to: navigation, search
(Displaying from the CLI)
Line 1: Line 1:
 
==Displaying spatial data with GRASS==
 
==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 <code>d.mon</code> 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.  
+
This section of the tutorial explains how to display raster and vector data using GRASS GIS. We focus on two approaches: one approach uses the CLI and the <code>d.mon</code> display monitors, while the other shows you how to use the GRASS wxGUI. This reader is redirected to the Quick wxGUI tutorial for more information on this topic.  
 +
 
 +
 
 +
===[http://grasswiki.osgeo.org/wiki/Quick_wxGUI_tutorial#Displaying_maps Displaying from the wxGUI]===
  
 
===Displaying from the CLI===   
 
===Displaying from the CLI===   
Line 11: Line 14:
 
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=== 
 
Plotting an elevation profile between two points is done by running <code>d.profile</code>:
 
Plotting an elevation profile between two points is done by running <code>d.profile</code>:
  
 
[[File:Dprofile-elevation.png|center|300px]]
 
[[File:Dprofile-elevation.png|center|300px]]
 
===[http://grasswiki.osgeo.org/wiki/Quick_wxGUI_tutorial#Displaying_maps Displaying from the wxGUI]===
 

Revision as of 05:01, 31 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: one approach uses the CLI and the d.mon display monitors, while the other 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 wxGUI

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

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

Dprofile-elevation.png