swarm-gis
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Peter Hraber
Date: Fri, 26 Sep 1997 12:32:14 -0600 (MDT)

Some GRASS tips:

1) set up monitor with d.mon
   choose x1


        a) display control
                use d.rast to see raster file
                use d.erase before displaying new file
                use d.where to get coordinates of pixels off display
                use d.frame interactively to control viewing frame; note
                            that there is a faint purple cursor box that
                            comes up to help you select the frame.

2) inport ascii data
   Command = r.in.ascii

   File format requires spaces between values and a header.
   Note that N,S,E,W location values are for the outer edges
   of the pixels, not the centers of the pixels.

   Example of input data file to use with r.in.ascii

   
north:  10
south:   0
east:   10
west:    0
rows:   10
cols:   10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 5 5 5 5 10
1 2 3 4 5 5 5 5 5 10
1 2 3 4 5 5 5 5 5 10
1 2 3 4 5 5 5 5 5 10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10

--4287_7a81-4a4d_4bb9-7339_24cf
Content-Type: application/postscript; name=grass.ps
Content-Transfer-Encoding: quoted-printable
Content-MD5: lLGvY8KYX4ZfwZ2yCc8TJQ==
Content-Description: grass.ps
Content-Disposition: attachment; filename=grass.ps
X-Sun-Data-Type: postscript-file

%!PS-Adobe-3.0
%%Creator: Windows PSCRIPT
%%Title: Microsoft Word - GRASS.DOC
%%BoundingBox: 18 9 593 784
%%DocumentNeededResources: (atend)
%%DocumentSuppliedResources: (atend)
%%Pages: (atend)
%%BeginResource: procset Win35Dict 3 1
/Win35Dict 290 dict def Win35Dict begin/bd{bind def}bind def/in{72
mul}bd/ed{exch def}bd/ld{load def}bd/tr/translate ld/gs/gsave ld/gr
/grestore ld/M/moveto ld/L/lineto ld/rmt/rmoveto ld/rlt/rlineto ld
/rct/rcurveto ld/st/stroke ld/n/newpath ld/sm/setmatrix =
ld/cm/currentmatrix
ld/cp/closepath ld/ARC/arcn ld/TR{65536 div}bd/lj/setlinejoin ld/lc
/setlinecap ld/ml/setmiterlimit ld/sl/setlinewidth ld/scignore false
def/sc{scignore{pop pop pop}{0 index 2 index eq 2 index 4 index eq
and{pop pop 255 div setgray}{3{255 div 3 1 roll}repeat=20
setrgbcolor}ifelse}ifelse}bd
/FC{bR bG bB sc}bd/fC{/bB ed/bG ed/bR ed}bd/HC{hR hG hB sc}bd/hC{
/hB ed/hG ed/hR ed}bd/PC{pR pG pB sc}bd/pC{/pB ed/pG ed/pR ed}bd/sM
matrix def/PenW 1 def/iPen 5 def/mxF matrix def/mxE matrix def/mxUE
matrix def/mxUF matrix def/fBE false def/iDevRes 72 0 matrix =
defaultmatrix
dtransform dup mul exch dup mul add sqrt def/fPP false def/SS{fPP{
/SV save def}{gs}ifelse}bd/RS{fPP{SV restore}{gr}ifelse}bd/EJ{gsave
showpage grestore}bd/#C{userdict begin/#copies ed end}bd/FEbuf 2 string
def/FEglyph(G  )def/FE{1 exch{dup 16 FEbuf cvrs FEglyph exch 1 exch
putinterval 1 index exch FEglyph cvn put}for}bd/SM{/iRes ed/cyP ed
/cxPg ed/cyM ed/cxM ed 72 100 div dup scale dup 0 ne{90 eq{cyM exch
0 eq{cxM exch tr -90 rotate -1 1 scale}{cxM cxPg add exch tr +90=20
rotate}ifelse}{cyP
cyM sub exch 0 ne{cxM exch tr -90 rotate}{cxM cxPg add exch tr -90
rotate 1 -1 scale}ifelse}ifelse}{pop cyP cyM sub exch 0 ne{cxM cxPg
add exch tr 180 rotate}{cxM exch tr 1 -1 scale}ifelse}ifelse 100 iRes
div dup scale 0 0 transform .25 add round .25 sub exch .25 add round
.25 sub exch itransform translate}bd/SJ{1 index 0 eq{pop pop/fBE false
def}{1 index/Break ed div/dxBreak ed/fBE true def}ifelse}bd/ANSIVec[
16#0/grave 16#1/acute 16#2/circumflex 16#3/tilde 16#4/macron 16#5/breve
16#6/dotaccent 16#7/dieresis 16#8/ring 16#9/cedilla 16#A/hungarumlaut
16#B/ogonek 16#C/caron 16#D/dotlessi 16#27/quotesingle 16#60/grave
16#7C/bar 16#82/quotesinglbase 16#83/florin 16#84/quotedblbase 16#85
/ellipsis 16#86/dagger 16#87/daggerdbl 16#88/circumflex =
16#89/perthousand
16#8A/Scaron 16#8B/guilsinglleft 16#8C/OE 16#91/quoteleft =
16#92/quoteright
16#93/quotedblleft 16#94/quotedblright 16#95/bullet 16#96/endash 16#97
/emdash 16#98/tilde 16#99/trademark 16#9A/scaron 16#9B/guilsinglright
16#9C/oe 16#9F/Ydieresis 16#A0/space 16#A1/exclamdown 16#A4/currency
16#A5/yen 16#A6/brokenbar 16#A7/section 16#A8/dieresis 16#A9/copyright
16#AA/ordfeminine 16#AB/guillemotleft 16#AC/logicalnot 16#AD/hyphen
16#AE/registered 16#AF/macron 16#B0/degree 16#B1/plusminus =
16#B2/twosuperior
16#B3/threesuperior 16#B4/acute 16#B5/mu 16#B6/paragraph =
16#B7/periodcentered
16#B8/cedilla 16#B9/onesuperior 16#BA/ordmasculine 16#BB/guillemotright
16#BC/onequarter 16#BD/onehalf 16#BE/threequarters 16#BF/questiondown
16#C0/Agrave 16#C1/Aacute 16#C2/Acircumflex 16#C3/Atilde 16#C4/Adieresis
16#C5/Aring 16#C6/AE 16#C7/Ccedilla 16#C8/Egrave 16#C9/Eacute 16#CA
/Ecircumflex 16#CB/Edieresis 16#CC/Igrave 16#CD/Iacute 16#CE/Icircumflex
16#CF/Idieresis 16#D0/Eth 16#D1/Ntilde 16#D2/Ograve 16#D3/Oacute 16#D4
/Ocircumflex 16#D5/Otilde 16#D6/Odieresis 16#D7/multiply 16#D8/Oslash
16#D9/Ugrave 16#DA/Uacute 16#DB/Ucircumflex 16#DC/Udieresis 16#DD/Yacute
16#DE/Thorn 16#DF/germandbls 16#E0/agrave 16#E1/aacute 16#E2/acircumflex
16#E3/atilde 16#E4/adieresis 16#E5/aring 16#E6/ae 16#E7/ccedilla 16#E8
/egrave 16#E9/eacute 16#EA/ecircumflex 16#EB/edieresis 16#EC/igrave
16#ED/iacute 16#EE/icircumflex 16#EF/idieresis 16#F0/eth 16#F1/ntilde
16#F2/ograve 16#F3/oacute 16#F4/ocircumflex 16#F5/otilde 16#F6/odieresis
16#F7/divide 16#F8/oslash 16#F9/ugrave 16#FA/uacute 16#FB/ucircumflex
16#FC/udieresis 16#FD/yacute 16#FE/thorn 16#FF/ydieresis ] def/reencdict
12 dict def/IsChar{basefontdict/CharStrings get exch known}bd/MapCh{dup
IsChar not{pop/bullet}if newfont/Encoding get 3 1 roll =
put}bd/MapDegree{16#b0
/degree IsChar{/degree}{/ring}ifelse MapCh}bd/MapBB{16#a6/brokenbar
IsChar{/brokenbar}{/bar}ifelse MapCh}bd/ANSIFont{reencdict =
begin/newfontname
ed/basefontname ed FontDirectory newfontname known not{/basefontdict
basefontname findfont def/newfont basefontdict maxlength dict def=20
basefontdict{exch
dup/FID ne{dup/Encoding eq{exch dup length array copy newfont 3 1 roll
put}{exch newfont 3 1 roll put}ifelse}{pop pop}ifelse}forall newfont
/FontName newfontname put 127 1 159{newfont/Encoding get exch/bullet
put}for ANSIVec aload pop ANSIVec length 2 idiv{MapCh}repeat MapDegree
MapBB newfontname newfont definefont pop}if newfontname end}bd/SB{FC
/ULlen ed/str ed str length fBE not{dup 1 gt{1 sub}if}if/cbStr ed
/dxGdi ed/y0 ed/x0 ed str stringwidth dup 0 ne{/y1 ed/x1 ed y1 y1
mul x1 x1 mul add sqrt dxGdi exch div 1 sub dup x1 mul cbStr div exch
y1 mul cbStr div}{exch abs neg dxGdi add cbStr div exch}ifelse/dyExtra
ed/dxExtra ed x0 y0 M fBE{dxBreak 0 BCh dxExtra dyExtra str =
awidthshow}{dxExtra
dyExtra str ashow}ifelse fUL{x0 y0 M dxUL dyUL rmt ULlen fBE{Break
add}if 0 mxUE transform gs rlt cyUL sl [] 0 setdash st gr}if fSO{x0
y0 M dxSO dySO rmt ULlen fBE{Break add}if 0 mxUE transform gs rlt cyUL
sl [] 0 setdash st gr}if n/fBE false def}bd/font{/name ed/Ascent ed
0 ne/fT3 ed 0 ne/fSO ed 0 ne/fUL ed/Sy ed/Sx ed 10.0 div/ori ed -10.0
div/esc ed/BCh ed name findfont/xAscent 0 def/yAscent Ascent def/ULesc
esc def ULesc mxUE rotate pop fT3{/esc 0 def xAscent yAscent mxUE =
transform
/yAscent ed/xAscent ed}if [Sx 0 0 Sy neg xAscent yAscent] esc mxE
rotate mxF concatmatrix makefont setfont [Sx 0 0 Sy neg 0 Ascent] mxUE
mxUF concatmatrix pop fUL{currentfont dup/FontInfo get/UnderlinePosition
known not{pop/Courier findfont}if/FontInfo get/UnderlinePosition get
1000 div 0 exch mxUF transform/dyUL ed/dxUL ed}if fSO{0 .3 mxUF =
transform
/dySO ed/dxSO ed}if fUL fSO or{currentfont dup/FontInfo =
get/UnderlineThickness
known not{pop/Courier findfont}if/FontInfo get/UnderlineThickness get
1000 div Sy mul/cyUL ed}if}bd/min{2 copy gt{exch}if pop}bd/max{2 copy
lt{exch}if pop}bd/CP{/ft ed{{ft 0 =
eq{clip}{eoclip}ifelse}stopped{currentflat
1 add setflat}{exit}ifelse}loop}bd/patfont 10 dict def patfont begin
/FontType 3 def/FontMatrix [1 0 0 -1 0 0] def/FontBBox [0 0 16 16]
def/Encoding StandardEncoding def/BuildChar{pop pop 16 0 0 0 16 16
setcachedevice 16 16 false [1 0 0 1 .25 .25]{pat}imagemask}bd end/p{
/pat 32 string def{}forall 0 1 7{dup 2 mul pat exch 3 index put dup
2 mul 1 add pat exch 3 index put dup 2 mul 16 add pat exch 3 index
put 2 mul 17 add pat exch 2 index put pop}for}bd/pfill{/PatFont patfont
definefont setfont/ch(AAAA)def X0 64 X1{Y1 -16 Y0{1 index exch M ch
show}for pop}for}bd/vert{X0 w X1{dup Y0 M Y1 L st}for}bd/horz{Y0 w
Y1{dup X0 exch M X1 exch L st}for}bd/fdiag{X0 w X1{Y0 M X1 X0 sub dup
rlt st}for Y0 w Y1{X0 exch M Y1 Y0 sub dup rlt st}for}bd/bdiag{X0 w
X1{Y1 M X1 X0 sub dup neg rlt st}for Y0 w Y1{X0 exch M Y1 Y0 sub dup
neg rlt st}for}bd/AU{1 add cvi 15 or}bd/AD{1 sub cvi -16 =
and}bd/SHR{pathbbox
AU/Y1 ed AU/X1 ed AD/Y0 ed AD/X0 ed}bd/hfill{/w iRes 37.5 div round
def 0.1 sl [] 0 setdash n dup 0 eq{horz}if dup 1 eq{vert}if dup 2 =
eq{fdiag}if
dup 3 eq{bdiag}if dup 4 eq{horz vert}if 5 eq{fdiag bdiag}if}bd/F{/ft
ed fm 256 and 0 ne{gs FC ft 0 eq{fill}{eofill}ifelse gr}if fm 1536
and 0 ne{SHR gs HC ft CP fm 1024 and 0 ne{/Tmp save def pfill Tmp =
restore}{fm
15 and hfill}ifelse gr}if}bd/S{PenW sl PC st}bd/m matrix def/GW{iRes
12 div PenW add cvi}bd/DoW{iRes 50 div PenW add cvi}bd/DW{iRes 8 div
PenW add cvi}bd/SP{/PenW ed/iPen ed iPen 0 eq iPen 6 eq or{[] 0 =
setdash}if
iPen 1 eq{[DW GW] 0 setdash}if iPen 2 eq{[DoW GW] 0 setdash}if iPen
3 eq{[DW GW DoW GW] 0 setdash}if iPen 4 eq{[DW GW DoW GW DoW GW] 0
setdash}if}bd/E{m cm pop tr scale 1 0 moveto 0 0 1 0 360 arc cp m sm}bd
/AG{/sy ed/sx ed sx div 4 1 roll sy div 4 1 roll sx div 4 1 roll sy
div 4 1 roll atan/a2 ed atan/a1 ed sx sy scale a1 a2 ARC}def/A{m cm
pop tr AG m sm}def/P{m cm pop tr 0 0 M AG cp m sm}def/RRect{n 4 copy
M 3 1 roll exch L 4 2 roll L L cp}bd/RRCC{/r ed/y1 ed/x1 ed/y0 ed/x0
ed x0 x1 add 2 div y0 M x1 y0 x1 y1 r arcto 4{pop}repeat x1 y1 x0 y1
r arcto 4{pop}repeat x0 y1 x0 y0 r arcto 4{pop}repeat x0 y0 x1 y0 r
arcto 4{pop}repeat cp}bd/RR{2 copy 0 eq exch 0 eq or{pop pop RRect}{2
copy eq{pop RRCC}{m cm pop/y2 ed/x2 ed/ys y2 x2 div 1 max def/xs x2
y2 div 1 max def/y1 exch ys div def/x1 exch xs div def/y0 exch ys div
def/x0 exch xs div def/r2 x2 y2 min def xs ys scale x0 x1 add 2 div
y0 M x1 y0 x1 y1 r2 arcto 4{pop}repeat x1 y1 x0 y1 r2 arcto 4{pop}repeat
x0 y1 x0 y0 r2 arcto 4{pop}repeat x0 y0 x1 y0 r2 arcto 4{pop}repeat
m sm cp}ifelse}ifelse}bd/PP{{rlt}repeat}bd/OB{gs 0 ne{7 3 roll/y ed
/x ed x y translate ULesc rotate x neg y neg translate x y 7 -3 roll}if
sc B fill gr}bd/B{M/dy ed/dx ed dx 0 rlt 0 dy rlt dx neg 0 rlt cp}bd
/CB{B clip n}bd/ErrHandler{errordict dup maxlength exch length gt
dup{errordict begin}if/errhelpdict 12 dict def errhelpdict=20
begin/stackunderflow(operand stack underflow)def
/undefined(this name is not defined in a dictionary)def/VMerror(you have =
used up=20
all the printer's memory)def
/typecheck(operator was expecting a different type of operand)def
/ioerror(input/output error occured)def end{end}if errordict begin
/handleerror{$error begin newerror{/newerror false def showpage 72
72 scale/x .25 def/y 9.6 def/Helvetica findfont .2 scalefont setfont
x y moveto(Offending Command =3D )show/command load{dup type/stringtype
ne{(max err string)cvs}if show}exec/y y .2 sub def x y moveto(Error =3D =
)show
errorname{dup type dup( max err string )cvs show( : )show/stringtype
ne{( max err string )cvs}if show}exec errordict begin errhelpdict =
errorname
known{x 1 add y .2 sub moveto errhelpdict errorname get show}if end
/y y .4 sub def x y moveto(Stack =3D)show ostack{/y y .2 sub def x 1
add y moveto dup type/stringtype ne{( max err string )cvs}if show}forall
showpage}if end}def end}bd end
%%EndResource
%%EndProlog
%%BeginSetup
Win35Dict begin
statusdict begin 0 setjobtimeout end
statusdict begin statusdict /jobname (Microsoft Word - GRASS.DOC) put =
end
/oldDictCnt countdictstack def {}stopped=20
{ countdictstack oldDictCnt lt { Win35Dict begin }=20
{1 1 countdictstack oldDictCnt sub {pop end } for } ifelse } if=20
/oldDictCnt countdictstack def {letter
}stopped=20
{ countdictstack oldDictCnt lt { Win35Dict begin }=20
{1 1 countdictstack oldDictCnt sub {pop end } for } ifelse } if=20
[{ }
/exec load currenttransfer /exec load] cvx settransfer
/fPP true def
%%EndSetup
%%Page: 1 1
%%PageResources: (atend)
SS
0 0 25 11 798 1100 300 SM
32 0 0 50 50 0 0 0 45 /Times-Roman /font12 ANSIFont font
0 0 0 fC
814 269 772 (GETTING STARTED WITH GRASS) 772 SB
450 387 1616 (GRASS is a Geographic Information System \(GIS\) for =
storing,=20
manipulating, and) 1616 SB
300 446 1688 (analyzing spatial information \(i.e. maps\).  The intent =
of this=20
document is get first time) 1688 SB
300 505 1627 (GRASS users up a running.  It does not cover the different =
=20
functions and modules) 1627 SB
300 564 1727 (available in GRASS, or how to perform particular kinds of=20
analysis.  After reading this,) 1727 SB
300 623 1765 (you should be able to 1\) run GRASS and create your own =
database,=20
and 2\) run grass and) 1765 SB
300 682 704 (access an already existing database.) 704 SB
32 0 0 50 50 0 0 0 45 /Times-Italic /font11 ANSIFont font
902 800 595 (Creating Your Own Database) 595 SB
32 0 0 50 50 0 0 0 45 /Times-Roman /font12 ANSIFont font
450 918 1487 (One way of using GRASS is to create your own database in =
your own=20
user) 1487 SB
300 977 1757 (account.  A database is basically a directory structure =
that GRASS=20
uses to organize your) 1757 SB
300 1036 1651 (data files into a logical structure.  It is important to =
realize=20
that GRASS creates and) 1651 SB
300 1095 1683 (maintains this directory structure transparent to the =
user, and=20
you should never try to) 1683 SB
300 1154 1799 (manually move or delete GRASS files from the UNIX command =
line. =20
Always use GRASS) 1799 SB
300 1213 1110 (commands to create, move, or delete GRASS data files.) =
1110 SB
450 1272 1600 (The structure of a GRASS database is shown below.  Each =
of the=20
components in) 1600 SB
300 1331 1795 (the tree \(GISDBASE, location 1, etc.\) refer to =
directories in=20
the database.  The actual data) 1795 SB
300 1390 1750 (files are not shown, but would be located within the =
mapset=20
directories \(PERMANENT,) 1750 SB
300 1449 1685 (mapset 1, etc.\).  The GISDBASE directory forms the root =
to the=20
database tree and is) 1685 SB
300 1508 1736 (specified by the user when starting GRASS \(discussed =
below\). =20
The location directories) 1736 SB
300 1567 1760 (correspond to distinct geographic locations, such as New =
Mexico=20
or Arizona.  Locations) 1760 SB
300 1626 1791 (are created and maintained entirely from within GRASS =
according=20
to information supplied) 1791 SB
300 1685 1691 (by the user.  Below each location are a group of mapsets. =
 =
=20
Mapsets are "workspaces") 1691 SB
300 1744 1750 (where different users can keep data and results.  Mapsets =
also=20
limit other users access to) 1750 SB
300 1803 1434 (your data, safeguarding against someone accidentally =
deleting=20
your files.) 1434 SB
32 0 0 50 50 0 0 0 47 /Helvetica /font4 ANSIFont font
364 1921 254 (GISDBASE) 254 SB
1 lc
1 lj
0 0 0 pC
6 4 SP
464 2143 M 0 -150 1 PP
S
n
389 2146 215 (location 1) 215 SB
939 2146 215 (location 2) 215 SB
464 2043 M 1100 0 1 PP
S
n
1014 2043 M 0 100 1 PP
S
n
464 2218 M 0 325 1 PP
S
n
614 2346 207 (mapset 1) 207 SB
614 2421 207 (mapset 2) 207 SB
614 2496 207 (mapset 3) 207 SB
464 2393 M 125 0 1 PP
S
n
464 2468 M 125 0 1 PP
S
n
464 2543 M 125 0 1 PP
S
n
464 2318 M 125 0 1 PP
S
n
614 2271 313 (PERMANENT) 313 SB
1014 2218 M 0 325 1 PP
S
n
1164 2346 207 (mapset 1) 207 SB
1164 2421 207 (mapset 2) 207 SB
1164 2496 207 (mapset 3) 207 SB
1014 2393 M 125 0 1 PP
S
n
1014 2468 M 125 0 1 PP
S
n
1014 2543 M 125 0 1 PP
S
n
1014 2318 M 125 0 1 PP
S
n
1164 2271 313 (PERMANENT) 313 SB
1489 2146 215 (location 3) 215 SB
1564 2043 M 0 100 1 PP
S
n
1564 2218 M 0 325 1 PP
S
n
1714 2346 207 (mapset 1) 207 SB
1714 2421 207 (mapset 2) 207 SB
1714 2496 207 (mapset 3) 207 SB
1564 2393 M 125 0 1 PP
S
n
1564 2468 M 125 0 1 PP
S
n
1564 2543 M 125 0 1 PP
S
n
1564 2318 M 125 0 1 PP
S
n
1714 2271 313 (PERMANENT) 313 SB
1589 1996 56 (....) 56 SB
32 0 0 50 50 0 0 0 45 /Times-Roman /font12 ANSIFont font
450 2616 1600 (Before building your own database, or accessing an =
existing=20
database, it is useful) 1600 SB
300 2675 1720 (to walk through creating a database with a 'junk' =
location and=20
user mapset.  To do this,) 1720 SB
300 2734 1701 (login to your account and create a directory in your user =
=20
account.  For example if you) 1701 SB
300 2793 1755 (want to create a directory called grass, type 'mkdir =
grass'. =20
This will be your GISDBASE) 1755 SB
300 2852 863 (directory.  To get started you will need the ) 863 SB
32 0 0 50 50 0 0 0 45 /Times-Italic /font11 ANSIFont font
1163 2852 180 (complete) 180 SB
32 0 0 50 50 0 0 0 45 /Times-Roman /font12 ANSIFont font
1343 2852 654 ( path to your GISDBASE.  Type) 654 SB
1 #C
statusdict begin /manualfeed false store end
EJ RS
%%PageTrailer
%%PageResources: font Helvetica
%%+ font Times-Italic
%%+ font Times-Roman
%%Page: 2 2
%%PageResources: (atend)
SS
0 0 25 11 798 1100 300 SM
32 0 0 50 50 0 0 0 45 /Times-Roman /font12 ANSIFont font
0 0 0 fC
300 269 1745 ('pwd' to get the path to your user account \(for example=20
/landscape/users/tkeitt\) and then) 1745 SB
300 328 1574 (append your GISDBASE directory name to that=20
\(/landscape/users/tkeitt/grass\).) 1574 SB
450 387 1538 (Now type 'grass'.  You will get a startup screen with =
three=20
fields: a location, a) 1538 SB
300 446 1784 (mapset, and a database.  In the database field type the =
path to=20
your GISDBASE directory.) 1784 SB
300 505 1742 (In the location field type 'junk' and in the mapset field, =
type=20
your username \(or whatever) 1742 SB
300 564 1725 (you want to call this mapset\).  Hit the ESC key.  GRASS =
will=20
prompt you whether you) 1725 SB
300 623 1653 (want to create a new location and mapset \(choose 'yes'\). =
 =
Keep=20
answering 'yes' until) 1653 SB
300 682 1734 (GRASS asks you for a coordinate system.  Enter '0' for x,y =
=20
coordinates.  Next, GRASS) 1734 SB
300 741 602 (will ask you to fill in a default ) 602 SB
32 0 0 50 50 0 0 0 45 /Times-Italic /font11 ANSIFont font
902 741 130 (region) 130 SB
32 0 0 50 50 0 0 0 45 /Times-Roman /font12 ANSIFont font
1032 741 1055 (.  A region is a set of spatial coordinates that define =
a) 1055=20
SB
300 800 1687 (geographic area of interest.  For now, we'll use an =
arbitrary set=20
of coordinates.  Enter) 1687 SB
300 859 1745 ('1000' for North, '0' for South, '0' for West, and '1000' =
for=20
East.  Enter '1' for your North) 1745 SB
300 918 790 (and South resolution.  Hit the ESC key.) 790 SB
450 977 1649 (After defining the default region, GRASS will return you =
to the=20
startup screen.  Hit) 1649 SB
300 1036 1800 (ESC again, and you will be running GRASS.  Now you can =
start=20
browsing through the on-) 1800 SB
300 1095 1720 (line help \(g.help, g.manual\) and get a feel for how =
GRASS=20
works.  You probably don't) 1720 SB
300 1154 1752 (want to store any data in your new 'junk' location, but =
at least=20
you can now run GRASS.) 1752 SB
300 1213 1638 (This can be useful for instance when you are creating =
real=20
locations and need to do) 1638 SB
300 1272 1687 (coordinate transforms to get your default region =
coordinates=20
\(because GRASS wants) 1687 SB
300 1331 252 (these values ) 252 SB
32 0 0 50 50 0 0 0 45 /Times-Italic /font11 ANSIFont font
552 1331 128 (before) 128 SB
32 0 0 50 50 0 0 0 45 /Times-Roman /font12 ANSIFont font
680 1331 1041 ( it will let you run any commands in a new location\).) =
1041 SB
450 1390 1517 (To create a location to store geographic data, type =
'exit' and=20
'y' \(to save your) 1517 SB
300 1449 1750 (location\).  Then repeat the above process \(you can use =
the same=20
GISDBASE directory\),) 1750 SB
300 1508 1656 (but this time be prepared to enter real location =
information=20
\(e.g. the boundaries of a) 1656 SB
300 1567 1068 (quadrangle in UTM units\) and resolution information.) =
1068 SB
32 0 0 50 50 0 0 0 45 /Times-Italic /font11 ANSIFont font
878 1685 643 (Accessing an Existing Database) 643 SB
32 0 0 50 50 0 0 0 45 /Times-Roman /font12 ANSIFont font
450 1803 1645 (To access an existing database, you only need to know the =
path to=20
the GISDBASE) 1645 SB
300 1862 1761 (directory for that database.  However, there are a couple =
of=20
important differences in how) 1761 SB
300 1921 1793 (you use databases, locations, and mapsets which you did =
not=20
create.  The first difference is) 1793 SB
300 1980 1384 (that you will not be able to use mapsets that you did not =
create.=20
 You ) 1384 SB
32 0 0 50 50 0 0 0 45 /Times-Italic /font11 ANSIFont font
1684 1980 73 (will) 73 SB
32 0 0 50 50 0 0 0 45 /Times-Roman /font12 ANSIFont font
1757 1980 206 ( be able to) 206 SB
300 2039 1712 (access map data in those mapsets \(provided the user who =
created=20
them gives access to) 1712 SB
300 2098 1667 (other users, this is set with g.access\).  The second =
difference=20
is that you will want to) 1667 SB
300 2157 725 (include the relevant mapsets in your ) 725 SB
32 0 0 50 50 0 0 0 45 /Times-Italic /font11 ANSIFont font
1025 2157 206 (search list) 206 SB
32 0 0 50 50 0 0 0 45 /Times-Roman /font12 ANSIFont font
1231 2157 516 (.  This is explained below.) 516 SB
450 2216 1511 (You can try this by logging into your account and typing =
'grass'=20
as explained) 1511 SB
300 2275 1720 (above.  Now enter the path to the database you want to =
access in=20
the database field.  If) 1720 SB
300 2334 1800 (you know which location you want to work in, then enter =
that in=20
the location field.  If your) 1800 SB
300 2393 1745 (not sure about the location, then type 'list' in the =
location=20
field and hit ESC.  You will be) 1745 SB
300 2452 1785 (given a list of available locations.  Choose one and =
enter it in=20
the location field.  Now, you) 1785 SB
300 2511 1800 (will want to create your own mapset or "workspace".  In =
the=20
mapset field, type some name) 1800 SB
300 2570 1769 (\(your username is a good one to use\).  Hit ESC and =
GRASS will=20
prompt you if you want) 1769 SB
300 2629 752 (to create a new mapset.  Choose 'yes'.) 752 SB
450 2688 1494 (At this point you may or may not have any data to work =
with=20
depending on) 1494 SB
300 2747 1760 (whether or not the PERMANENT mapset contains any data.  =
As a=20
default, all the files in) 1760 SB
300 2806 1729 (PERMANENT will be included in your search path.  Type =
'g.list'=20
and list your available) 1729 SB
300 2865 1724 (raster files.  If there are any available, you can start =
using=20
them in you analysis, etc.  To) 1724 SB
1 #C
statusdict begin /manualfeed false store end
EJ RS
%%PageTrailer
%%PageResources: font Times-Italic
%%+ font Times-Roman
%%Page: 3 3
%%PageResources: (atend)
SS
0 0 25 11 798 1100 300 SM
32 0 0 50 50 0 0 0 45 /Times-Roman /font12 ANSIFont font
0 0 0 fC
300 269 1649 (include other files not in PERMANENT or in your own =
mapset, type=20
'g.mapsets' to) 1649 SB
300 328 1714 (include other mapsets in your search path.  Any files that =
are=20
contained in mapsets that) 1714 SB
300 387 1673 (you include in your search path will be made available to =
you,=20
however, they will be ) 1673 SB
32 0 0 50 50 0 0 0 45 /Times-Italic /font11 ANSIFont font
1973 387 91 (read) 91 SB
300 446 86 (only) 86 SB
32 0 0 50 50 0 0 0 45 /Times-Roman /font12 ANSIFont font
386 446 1634 (.  You can display them and use them as input to GRASS =
routines,=20
but you cannot) 1634 SB
300 505 1699 (delete them.  Any new files you create will reside in your =
mapset.=20
 You can give other) 1699 SB
300 564 1791 (users access to your files with the 'g.access' command.  =
You can=20
also copy files from other) 1791 SB
300 623 881 (mapsets into your own mapset with 'g.copy'.) 881 SB
450 682 1583 (If you have files that you want to become a permanent part =
of the=20
database, you) 1583 SB
300 741 1745 (can get the database administrator to copy those files =
into the=20
PERMANENT mapset so) 1745 SB
300 800 522 (everyone will have access.) 522 SB
1 #C
statusdict begin /manualfeed false store end
EJ RS
%%PageTrailer
%%PageResources: font Times-Italic
%%+ font Times-Roman
%%Trailer
end
%%Pages: 3
% TrueType font name key:
%    MSTT310000 =3D=20
%    MSTT310000 =3D=20
%    MSTT31c170 =3D 25c7DTimes New RomanF00000032000001900000
%    MSTT31c17d =3D 25c7DTimes New RomanF00000032000001900001
%    MSTT31c18a =3D 25c7DTimes New RomanF0000001a000001900000
%%DocumentSuppliedResources: procset Win35Dict 3 1

%%DocumentNeededResources: font Helvetica
%%+ font Times-Italic
%%+ font Times-Roman

%%EOF
=04
--4287_7a81-4a4d_4bb9-7339_24cf--

                  ==================================
   Swarm-GIS is for discussion of Geographical Information Systems (GIS)
   and their integration or use with Swarm.  For list administration
   needs (esp. [un]subscribing), please send a message to
   <address@hidden> with "help" in the body of the message.
                  ==================================



reply via email to

[Prev in Thread] Current Thread [Next in Thread]