Qgis Tutorial
Qgis Tutorial
Launch QGIS
Launch QGIS from
Start All Programs Quantum GIS OR QGIS Icon on the desk top
Figure 1.1
"
Opening Raster
For this e#ercise we demonstrate three t$pes of GIS data
point line pol$gon.
%hese re&uire geo'referenced base data. Such base data could be in the form of
%opo sheets (adastral maps ()illage maps Remote sensed images
eg.* Google earth images* IRS data* L+,-S+% data.
%he accompan$ing (- pro)ides a registered image named nugu.tif. Open this file b$ selecting Add Raster Layer icon (Figure 1.!
.
Figure 1.2
Opening Raster
Open a GDAL Supported Raster Data Source window opens (Figure 1." Select nugu.tif and select Open (Figure 1." Obser)e the nugu.tif opened in the window (Figure 1..
0
Figure 1.3
Figure 1.4
Verifying geo-referencing
%he opened raster file is geo'referenced %o confirm the geo'referencing mo)e the cursor on the opened map3 coordinates change in the coordinate window at the bottom of the screen (Figure 1./
Figure 1.
15
Figure 1.$
1!
Figure 1.%
1"
Figure 1.&
1.
1/
Step &
+dd new attributes (Figure 1.4
Name< )illage Type< te#t Width< .5 (this is sub>ecti)e decision as place names are generall$ within .5 characters
Figure 1.'
11
+dd population data< to do this* we need to set ype of data in whole number (Figure 1.15 repeat Step & (Figure 1.11 +fter this select OK (Figure 1.11 ?ou will be guided to the Sa'e As window. Select the director$ in which $ou would like to sa)e the data. For this e#ample name it as :(illage) (Figure 1.1! Select Sa'e.
12
Figure 1.1(
14
Figure 1.11
!5
Figure 1.12
!1
!!
Figure 1.13
!"
Step *
Select@the@la$er@and@then@select@ oggle editing icon@ ([email protected]. On@enabling*@in@the@la$er@window*@the@toggle@acti)e@ icon@is@enabled@([email protected]/ On@its@enabling*@other@icons@related@@ne#t@to@%oggle editing icon@are@also@acti)ated@([email protected]/
!.
Figure 1.14
!/
Figure 1.1
!0
!1
8e ha)e Aoomed to the area (Figure 1.12 Select the icon ,apture point (Figure 1.12
!2
Figure 1.1$
!4
Figure 1.1%
"5
Figure.1.1&
"1
Figure 1.1'
"!
Figure 1.2(
".
Figure 1.21
"/
"0
Figure 1.22
"1
Figure 1.23
"2
"4
Figure 1.24
.1
Select Sa'e3 on sa)ing* la$er is stored in specified folder (Figure 1.!/ %his la$er is automaticall$ added to the QGIS window (Figure 1.!0
.!
Figure 1.2
."
Figure 1.2$
..
Figure 1.2%
.0
Figure 1.2&
.2
Figure 1.2'
.4
Figure 1.3(
/1
Figure 1.31
/!
a @ undershoot@
b @dangles
/"
Figure 1.32
/.
Figure 1.33
//
Select OK (Figure 1.". Repeat Step 2 till all roads are digitiAed (Figure 1."/ and remo)e the oggle editing Sa'e the la$er (Figure 1."0
/0
Figure 1.34
/1
Figure 1.3
/2
Figure 1.3$
/4
05
Figure 1.3%
01
0!
0"
Figure 1.3&
0/
Select Sa'e ( Figure 1."4 On sa)ing* la$er is stored in specified folder %his la$er is automaticall$ added to the QGIS window ( Figure 1..5
00
Figure 1.3'
01
Figure 1.4(
02
Figure 1.41
15
Step 4
8e ha)e Aoomed to the area (Figure 1..! Select the icon ,apture Polygon (Figure 1..! =lace marker on boundar$ of water bod$ that we ha)e to digitiAe and left clic1 (Figure 1.."
11
Figure 1.42
1!
Figure 1.43
1"
1.
Figure 1.44
1/
Figure 1.4
11
Snapping
a @o)erlapping
b @sli)ers
12
Figure 1.4$
14
Figure 1.4%
21
Figure 1.4&
2!
Figure 1.4'
2"
2.
Figure 1. (
2/
Figure 1. 1
20
!o*oring the.es
21
!o*oring the.es
Steps to be followed +ppropriate (olors to depict the theme
For e#ample* 5orests 3 6se green s%ades Roads3 6se #ro"n s%ades $ater#odies3 6se #lue s%ades 5ence3 6se #lac1 s%ades
22
24
Figure 1. 2
45
"oint Sty*e
Step 7 %o change the color of point data* dou#le clic1 on the point data ()illage la$er . La$er properties window opens (Figure 1./" Bnd Step 7 La$er properties has )arious tabs< Style8 La#els8 5ields8 General8 9etadata8 Actions8 :oins and Diagram (Figure 1./"
41
"oint Sty*e
Step < Select Style (Figure 1./" In st$le we can change ,olor 8 Si;e8 6nit* etc. Let us change the color
Select ,%ange (Figure 1./. Select ,olor window opens (Figure 1.// Select (olor b$ placing J on the selected (olor* the select OK (Figure 1./0
Figure 1. 3
4"
Figure 1. 4
4.
Figure 1.
4/
Figure 1. $
40
"oint Sty*e
In the la$er properties we can notice color has changed (Figure 1./1 Select OK (Figure 1./1 (olor change can be noticed in the )illage la$er (Figure 1./2
41
Figure 1. %
42
Figure 1. &
44
Line Sty*e
%o@change@the@color@of@road@follow@Step 7 (page@24 Layer Properties window@opens@(Figure@1./4
Select@from@sa)ed@st$les@an@s$mbol@appropriated@ for@roads*@and@e)en@set@width@appropriatel$@ ([email protected] Select@OK ([email protected]
155
Figure 1. '
151
Figure 1.$(
15!
"o*ygon Sty*e
%o@change@the@color@of@pol$gon@follow@Step 7 (page@24 Follow@Step <*@(page@45 @and@we@get@an@output@ as@in@[email protected]
15"
Figure 1.$1
15.
0ap co.poser
15/
!o.position of 0ap
+ output map should ha)e Scale Legend ,orth +rrow Grid (with coordinates %o create map select !e" Print ,omposer (Figure !.1 %he ,omposer opens (Figure !.! (omposer has the buttons* General8 Item and ,ommand %istory (Figure !.!
150
Figure 2.1
151
Figure 2.2
152
154
Figure 2.3
(an)as
115
Figure 2.4
111
Figure 2.
11!
Figure 2.$
11.
Figure 2.%
11/
Gri+ creation
Select S%o" Grid (Figure !.2 Bnter appropriate )alues (Figure !.2
Inter'al > 3 5.5. Inter'al ? 3 5.5"/
110
Figure 2.&
111
Figure 2.'
112
Figure 2.1(
1!5
Figure 2.11
1!1
Figure 2.12
1!!
Figure 2.13
1!"
In the Item General options de'select S%o" frames (as in Figure !.1! and Figure !.1"
K %hese@are@sub>ecti)e@decisions@and@dependent@on@the@pro>ection@s$stem@used.@
1!.
Figure 2.14
1!/
Figure 2.1
1!0
Figure 2.1$
1!1
1++ing Legen+
%he final step is to add a legend* select Add ne" 'ect legend Left clic1 on the can)as* a window appears* and in the Item window General tab is displa$ed (Figure !.12 Select Legend items (Figure !.12 Legend items ta# opens (Figure !.14
1!2
Figure 2.1%
1!4
Figure 2.1&
1"5
!usto.ising Legen+
%o remo)e unnecessar$ items from legend
Select nugu and select (Figure !.14
+ Legend item properties window opens (Figure !.!1 In Item te@t rename if re&uired3 then select OK (Figure !.!! For rest of the la$ers* repeat the process described in Figures !5* !1 and !!* if re&uired (Figure !.!"
1"1
Figure 2.1'
1"!
Figure 2.2(
1""
Figure 2.21
1".
Figure 2.22
1"/
Figure@!.!"
1"0
(ustomising Eap@window
In the Item Item options de'select S%o" frames as in Figure !.1!* page 11 (Figure !.!. Finall$* all the re&uired elements are placed on the can)as3 rearrange the same to con)e$ the message in a elegant wa$ (Figure !.!/ Sa)e the composer window b$ selecting Sa'e as template (Figure !.!0 %he Sa'e template window opens* enter the file name ,ugu and select Sa'e ( Figure !.!1
1"1
Figure 2.24
1"2
Figure 2.2
1"4
Figure 2.2$
1.5
Figure 2.2%
1.1
Output options
%o@take@output@we@ha)e< B#port@as@Image@ B#port@as@=-F B#port@as@S9G@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Gi)e@a@=rint@
1.!
1."
I.porting G"S +ata to G"S 5rac60ar6er %o import the data from G=S to QGIS* the following steps are in)ol)ed<
Running G=S %rackEarker (onnecting the G=S to the s$stem Importing the data to G=S %rackEarker Sa)ing it as G=L format.
1./
I.porting G"S +ata to G"S 5rac60ar6er Run G=S %rackEarker from =rogram file
(onnect and turn on the G=S G=S %rackEarker window opens (Figure ".1 Select< GPS option (Figure ".1 + dropdown window ha)ing )arious makes of G=S appears (Figure ".! Select the Garmin interface (Figure "."
1.0
Figure 3.1
1.1
Figure 3.2
1.2
Figure 3.3
1.4
I.porting G"S +ata to G"S 5rac60ar6er Garmin Interface window opens (Figure "..
,ote< 8indow gi)es information on the de)ice connected (e.g.* e%re# Legend * and the mode of connection as HSG (Figure "..
Select ,apture
Fields get flooded with the )alues Select BLI% (Figure ".0
K -uring the field work if onl$ $aypoints or rac1s were collected please select $aypoints or rac1s respecti)el$ rather than ALL 1/5
Figure 3.4
1/1
Figure 3.
1/!
Figure 3.$
1/"
I.porting G"S +ata to G"S 5rac60ar6er %he output is displa$ed in the window (Figure ".1 ,e#t sa)e the data. Select 5ile Sa'e 5ile as (Figure ".2 Select Sa'e as type< G=S e#change file (.gp# format (Figure ".4 ,ame appropriatel$ and sa)e (Figure ".15
1/.
Figure 3.%
1//
Figure 3.&
1/0
Figure 3.'
1/1
Figure 3.1(
1/2
Figure 3.11
105
Figure 3.12
101
Figure 3.13
10!
Figure 3.14
10.
Figure 3.1
10/
Figure 3.1$
100
101
Figure 3.1%
102
Figure 3.1&
104
Representation on 0ap
Remo)e both the la$ers. Load all the digitised la$ers from ,ugu area* and also the ,ugu map (as described in QGIS tutorial ,ow add the filed data sa)ed from G=S (onl$ shape files Select Add 'ector layer Aro"se select la$ers Open Once again* select Open (Figure ".14 %he output (Figure ".!5 would ha)e both the features (follow Eap composer tutorial
115
Figure 3.1'
111
Figure 3.2(
11!
Fina* output
11"