GRASS Short Course - Notes for Part 1: Introduction

grass57 -help

grass57 -gui

#see available maps:
g.list rast
g.list vect

#as we are using GRASS 5.7 and data for 5.0, we have to convert the
#old vector maps to new vector maps:
v.convert in=roads out=roads
g.list vect

#v.convert stores vector attributes in a column with name "label"

#as we are using GRASS 5.7 and data for 5.0, we have to convert the
#old sites maps to new vector maps:
v.in.sites in=archsites out=archsites

#v.in.sites stores point vector attributes in a column with name "str1" etc.

#display manager
d.m
# - add raster map 'elevation.dem'
# - add vector map 'roads'
# - display (world map symbol)
#
# - add vector map 'archsites'
#	- select icon symbol 'basic/diamond'
# - display (world map symbol)
#
# - display attributes of 'road' map
# - select only 'interstates' by SQL statement
#
# - save d.m stettings to file

#Enjoy 3D visualization:
nviz el=elevation.dem vect=roads

#get some map info
r.info elevation.dem
v.info roads
v.info archsites

#To leave GRASS, enter into terminal window:
exit


© 2003 Markus Neteler (neteler AT itc.it)
Back Course HOME
Last change: $Date: 2003-11-09 23:08:46 +0100 (Sun, 09 Nov 2003) $