Tuesday, July 25, 2006

Track 7: Sesion 4 GRASS

GRASS 6.0.2 (spearfish60):~ > d.rast
GRASS 6.0.2 (spearfish60):~ > d.rast -help
GRASS 6.0.2 (spearfish60):~ > g.manual
GRASS 6.0.2 (spearfish60):~ > g.manual -m d.rast
GRASS 6.0.2 (spearfish60):~ > g.list type=vect /* lista archivos

GRASS 6.0.2 (spearfish60):~ > qgis /* visualizador se conecta a la base de datos de GRASS
pluggings / pluggin manager / grass

impresion: se puede poner leyendas, escalas, textos, etc

Importar informacion

[usuario@track7 tutorialgrass]$ tar -xzvf tiger2000_latlong_nad83.tar.gz

EPGS 4269 : sistema de lat.
ogr2ogr transformar unidades de uno a otro
[usuario@track7 tiger2000_latlong_nad83]$ ogr2ogr -s_srs "+init=epsg:4269" -t_srs "+init=epsg:26713" tgr46081lkA_UTM13_nad27.shp tgr46081lkA.shp

[usuario@track7 tiger2000_latlong_nad83]$ ogr2ogr -s_srs "+init=epsg:4269" -t_srs "+init=epsg:26713" abel-nuevo.shp tgr46081lkA.shp

[usuario@track7 tutorialgrass]$ grass60 -gui /* ingresar en modo grafico

ingresar informacion vectorial:

GRASS 6.0.2 (spearfish60):~/tutorialgrass/tiger2000_UTM13_nad27 > d.mon start=x1
using default visual which is TrueColor /* para abrir el monitor
ncolors: 16777216
Graphics driver [x1] started
GRASS 6.0.2 (spearfish60):~/tutorialgrass/tiger2000_UTM13_nad27 > d.vect tgr2000_roads col=grey

GRASS 6.0.2 (spearfish60):~/tutorialgrass > g.list type=rast /* ver archivos importados
GRASS 6.0.2 (spearfish60):~/tutorialgrass > d.rast tm.7 /* visualizar el tm.7

No comments: