Difference between revisions of "Common Tasks"

From GRASS-Wiki
Jump to: navigation, search
(Import/Export and Display)
(Raster operations)
Line 62: Line 62:
  
 
== Raster operations ==
 
== Raster operations ==
 +
 +
=== Creation ===
 +
 +
* slope, aspect and surface parameters
 +
** r.slope.aspect
 +
** r.param.scale
  
 
* Create a shaded relief map
 
* Create a shaded relief map
Line 68: Line 74:
 
* drape semi-transparent land use map over shaded relief map
 
* drape semi-transparent land use map over shaded relief map
 
** d.his
 
** d.his
 +
 +
=== Analysis ===
 +
 +
* cost surface analysis
 +
** r.cost
 +
** r.drain (fun examples)
 +
** r.walk (fun examples) [how output is different]
  
 
== Vector operations ==
 
== Vector operations ==

Revision as of 00:32, 13 December 2006

Mini-tutorials showcasing some common GIS taks

Import/Export and Display

  • Import and display SRTM elevation data
r.in.srtm
  • Import and display VMap0 Digital Chart of the World
v.in.ogr
  • GRASS Newsletter, 3, June 2005.
  • If your region crosses the boundaries of a VMap0 block you can use the v.append command, available in the Grass addons section of this wiki, to combine vectors across the edges. It can take quite a while to complete.
  • Import and display ETOPO2 world elevation and bathymetry dataset
r.in.bin

General Import / Export

  • Raster import and export with r.in.gdal / r.out.gdal
  • r.in.gdal misc. tips
  • r.out.gdal data types, creation options, new flags
  • Vector import and export with v.in.org / v.out.ogr
  • v.in.ogr misc. tips, shapefile gotchas
  • v.out.ogr data types, dsn, new flags

GIS Tasks

  • Create a DEM from contour lines and trig points
    • r.surf.contour
  • Create a DEM from x,y,z point data
    • v.surf.rst
    • v.surf.idw
    • v.surf.bspline
    • r.surf.nnbathy
  • Create vector contour lines from a raster DEM
    • r.contour

3D Visualization

  • Use NVIZ to render a 3D image
nviz elevation.dem
  • Use NVIZ to make a fly through movie
  • Use Paraview to render a 3D image
    • r.out.vtk, v.out.vtk

Raster operations

Creation

  • slope, aspect and surface parameters
    • r.slope.aspect
    • r.param.scale
  • Create a shaded relief map
    • r.shaded relief
  • drape semi-transparent land use map over shaded relief map
    • d.his

Analysis

  • cost surface analysis
    • r.cost
    • r.drain (fun examples)
    • r.walk (fun examples) [how output is different]

Vector operations

  • Disolve interior lines
    • v.dissolve

Hardcopy and Presention Graphics Creation

  • Create a high quality hardcopy plot
    • Creating PostScript with ps.map
    • export to GMT