You are on page 1of 70

Quantum GIS

http://www.cgistln.nu.ac.th/web/

1|Page


1 Quantum GIS

2 Quantum GIS
Graphic User Interface Quantum GIS
Shapefile
Raster
Symbology
(Label Feature)
(Legend Type)
(Unique Value)
(Graduate Symbol)
(Continuous Color)
3
(Spatial Search)
(Input Data and Georeferencing)
GPS
Shapefile (Point)
Shapefile (Line)
Shapefile (Polygon)
(Georeferencing)
Intersect
Union
Clip
Buffer
Dissolve
WMS (Web Map Service) QGIS
WFS (Web Feature Service) QGIS
4 Layout (Layout Creating)

Map Layout

3
4
7
7
8
9
10
12
15
16
17
18
20
21
23
24
28
33
35
37
46
48
49
51
53
55
59
61
61
62

2|Page

1
Quantum GIS
Quantum GIS QGIS Desktop GIS
(Free and Open Source Software:
FOSS) Graphic User Interface


. 2002 Desktop GIS Quantum GIS
Shapefile
GeoTIFF QGIS Shapefile Format QGIS
Qt Graphical User Interface (GUI) UNIX, Window
Mac C++ QGIS Spatial
RDBMS PostGIS/PostgreSQL PostGIS
GRASS GRASS
GRASS (Spatial Analysis)

(Spatial Data) (Attribute Data) GUI
Script Python
GIS Download www.qgis.org

3|Page

Quantum GIS

1. Quantum GIS URL: http://www.qgis.org/wiki/Download

2. QGIS-OSGeo4W-1.5.0-14109-Setup.exe
Next

4|Page

3. License Agreement I Agree

4. Next

5|Page

5.
Install

6. Finish

7. Quantum GIS Start>>All Program >> Quantum GIS Tethys >>


Quantum GIS (1.5.0) Desktop

6|Page

2
Quantum GIS
Graphic User Interface Quantum GIS
Menu Bar

Tools Bar

Map Display
Layers

Overview

Map Coordinate at mouse curser position

Current Map Scale

Project Properties

1. Menu Bar

7|Page

File, Edit, View,


Layer, Settings, Plugins, Vector Help
File

Manage Layers

Plugins

Digitizing and Advanced Digitizing

Attributes

Map Navigation

GRASS

2. Tools Bar (Icon)


3. Layers
(Table of Content: TOC) ArcGIS Desktop, ArcView
4. Overview (Map Display)
5. Map Display
6. Map Coordinate at mouse curser position
Map Display
7. Current Map Scale
8. Project Properties
Shapefile

Add Vector Layer Tools Bar Map

8|Page

Display 3 (Point), (Line), (Polygon)


Raster

Add Raster Layer Tools Bar ,


, (DEM)

9|Page

Symbology

Properties

10 | P a g e

Symbology Legend type Single Symbol


OK

**
11 | P a g e

(Label Feature)
Properties

Layer properties Labels


Display labels

12 | P a g e

Tab : Label Properties 5


1. Basic label options

Field containing label: Drop-Down list Field


Default label: Default Field
Font size:
2. Placement

3. Use scale dependent rendering

(scale)
4. Buffer label

13 | P a g e

5. Offset

Offset

14 | P a g e

(Legend Type)
Layers TOC (Table of Content)

Symbology 2
1.
- (Single Symbol) (Default)

- (Unique Value)

2.
- (Graduate Symbol)

15 | P a g e

- (Continuous Color)

(Unique Value)

Properties

16 | P a g e

1 1

(Graduate Symbol)

17 | P a g e

(Continuous Color)

18 | P a g e

19 | P a g e


(Topology)





3
1. (Spatial Search)
- Query
- Identify
2. (Input Data and
Georeferencing)
- GPS
- (Digitize)
-
3. (Spatial Overlay)
- Intersect
- Union
- Clip
4. (Buffer Operation)
- Buffer
- Dissolve
5.
20 | P a g e

- WMS (Web Map Service)


- WFS (Web Feature Service)
1. (Spatial Search)
1.1. (Query)
(Colorado
State)
Query
1. states.shp
states Query

2. Query Builder Field


STATE_NAME (=) Value All
Colorado OK

21 | P a g e

Query

1.2. (Identify)

Identify
1. states

states Identify Results

22 | P a g e

2. (Input Data and


Georeferencing)
(Input data)




(Digitize)
(Scan) 2

(Digitizer)
(control point) 4 (Cursor)

(Scanner)
(raster format)
(pixel) DPI : dot per inch
Raster to Vector conversion GEOVEC
for Microstation R2V

(Keyboard) ARC/Info dBase
Tables Relational data base PC
FoxPro, Access Excel DBF file
ARC/Info

23 | P a g e

2.1 GPS GPS



Notepad Text file QGIS
GPS
1. GPS Notepad ,
Column Save

2. QGIS

Add Delimited Text Layer

24 | P a g e

3. browse Text GPS.txt

4. GPS

25 | P a g e

5. GPS

6. Save Shapefile GPS >>


Save as

26 | P a g e

GPS

7. Save vector layer as Format:


ESRI Shapefile Save as:
Browse Save gliH0
OK Shapefile

8. Shapefile PointGPS.shp

27 | P a g e

2.2 (Digitize) Shapefile


(Digitize) (Point), (Line),
(Polygon)
Shapefile (Point)
1. Shapefile Layer >> New >> New Shapefile Layer
Ctrl+Shift+N

2. New Vector Layer Type: Point

28 | P a g e

3. CRS ID Specify CRS


WGS84 UTM Zone 47N OK

4. New Attribute Filed (Column)


2 Field ID Name
Name
ID
Name

Type
Whole number
Text data

Width
5
255

Precision
0
0

29 | P a g e

5.

6.

30 | P a g e

7. Shapefile (Point)

8. Shapefile Digitize
(Digitize)

Toggle editing

31 | P a g e

9. (Digitize)
Capture Point
Attribute OK

32 | P a g e

10. (Point)

Shapefile (Line)
1. Shapefie (Line)
Shapefie (Point) (Type)
(Digitize)
Toggle
editing (Digitize)

Toggle editing
Save edit
Capture Line

Delete Selected
Cut Features
Copy Features

Move Features
Node Tool

Paste Features

33 | P a g e

2. (Digitize)
Capture Line
Digitize Attribure
OK

3. (Line)

34 | P a g e

Shapefile (Polygon)
1. Shapefie (Polygon)
Shapefie (Point) (Type)
(Polygon) (Digitize)

Toggle editing (Digitize)

Toggle editing
Save edit
Capture Polygon

Delete Selected
Cut Features

Copy Features

Move Features
Node Tool

Paste Features

2. (Digitize)
Capture Line
Digitize Attribure
OK

35 | P a g e

3. (Line)

4. 3 (Point), (Line)
(Polygon)
36 | P a g e

2.3 (Georeferencing)
(Ground Control Point: GCP)
(Scan) (Aerial
Photo) (Image Satellite) Capture Google Earth

(Georeferencing)

37 | P a g e

1. QGIS Capture
Google Earth

2.
Georeferencer

38 | P a g e

39 | P a g e

3. Open Raster

4. : GCP 4
: GCP 4

40 | P a g e

5. Add Point
: GCP 4

Zoom In

: GCP

1
Add
Point

: GCP

X, Y
OK

41 | P a g e

42 | P a g e

6. 4

43 | P a g e

7. Setting >> Transformation setting

Transformation type : Polynomial 1


Resampling method : Nearest neighbour
Compression : NONE
Output raster : path
Target SRS :

Projection ()
WGS 84 / UTM Zone 47N
OK

44 | P a g e

8. Start Georeferencing

9. Georeferencer
Map Coordinate at mouse curser position

45 | P a g e

10. Vector (Shapefile)


46 | P a g e

3. (Spatial Overlay)

1
2
3.1. Intersect (Overlay) 2
(Output) 2
2

Intersect
1. lakes counties Vector >>
Geoprocessing Tools >> Intersect

47 | P a g e

2. Intersect Input vector layer lakes


Intersect layer counties Output shapefile OK

Intersect

48 | P a g e

3.2. Union
2
Polygon

Union
1. states counties Vector >> Geoprocessing
Tools >> Union

2. Union Input vector layer lakes Union layer


states Output shapefile OK

49 | P a g e

Union

50 | P a g e

3.3. Clip
(Clip feature)

Clip
1. colorado counties Vector >> Geoprocessing
Tools >> Clip

2.
Clip
Input vector layer counties Clip layer colorado
Output shapefile OK

51 | P a g e

Clip

4. (Buffer Operation)
4.1. Buffer
Buffer 1
Buffer
Buffer

52 | P a g e

Buffer
1. cities_ext Vector >> Geoprocessing Tools >>
Buffer(s)

2. Buffer(s) Input vector layer cities_ext


Buffer distance 2 ( Degree) Output shapefile
OK

53 | P a g e

Buffer

4.2. Dissolve Attribute


Dissolve

54 | P a g e

1. buffers Vector >> Geoprocessing Tools >>


Dissolve

2. Dissolve Input vector layer buffers


Dissolve field Dissolve all Output shapefile OK

55 | P a g e

Dissolve

56 | P a g e

5.
5.1 WMS (Web Map Service)
Web Mapping Service (WMS)

vector raster JPEG PNG web
UMN Mapserver Google Maps WMS
Web Mapping Service WMS GIS Internet/Intranet
Open GIS Consortium (OGC)
Format PNG, GIF JPEG
3
Get Capabilities Metadata

Get Map
PNG, GIF JPEG
Get FeatureInfo? Option

WMS implement
technology
OGC
WMS GIS
Desktop ARCGIS, MAPINFO
Client Google Earth, NASA Worldwind, Erdas, gvSIG,
NASA World Wind, OpenLayers, uDig QGIS

57 | P a g e

WMS (Web Map Service) QGIS


1. Add WMS Layer
WMS Server Internet

2. New WMS
URL WMS http://dt.gistda.or.th/wms/spot5

58 | P a g e

Name: WMS
URL: URL WMS
OK Connect

3. Imagery Add
SPOT 5 2.5

59 | P a g e

5.2 WFS (Web Feature Service)


WFS (Web Feature Service) Vector
Vector XML GML
(Geography Markup Language) Open GIS Consortium, Inc.
Web Browser XML Microsoft Internet Explorer
DOM (Document Object Modeling)
SVG (Scalable Vector Graphic)
XML


WAP (Wireless Application Protocol) 3G (Third Generation)
GML (Geographic Markup Language)
SVG (Scalar Vector
Graphic)

(
)

XML(Extensible
markup language)
XML

XML
( relational database
)
GML (Geographic Markup Language)
GML SVG XML
Web Browser SVG SVG viewer Adobe
Web Browser GML(Geographic
Markup Language) SVG (Scalar Vector Graphic)
2

60 | P a g e

WFS (Web Feature Service) QGIS


1. Add WFS Layer

2. New WFS URL


WFS http://webservices.ionicsoft.com/unData/wfs/UN

61 | P a g e

3. OK Connect

4. Airpotr1:5M OK

62 | P a g e

4
Layout (Layout Creating)


(Topographic Map) (Thematic
Map)
3

(Specific feature)

(Basic map element)


1. (Map Body)
63 | P a g e

2.
3.
4.
5.
6.
7.
8.

(Legend)
(Map Title)
(Map Scale and Projection)
(North Arrow)
(Source Statement)
(Cartographer Name)
(Neatline)

Map Layout
1.

64 | P a g e

2. Add new map

3. Add new vect legend

65 | P a g e

4. Add Image

5. Add Basic Shape

66 | P a g e

6. Add new scalebar

67 | P a g e

7. Add new label

8. Click Active Map Body Item Grid


Show grid? Interval X Y 15 Draw annotation

68 | P a g e

9.

10. Export
File >> Export as Image Save

69 | P a g e

70 | P a g e

You might also like