SlideShare ist ein Scribd-Unternehmen logo
1 von 77
Downloaden Sie, um offline zu lesen
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Geographic
Information System
QGIS Introduction(1)
microbase.LLC
http://microgeodata.com/
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Agenda
1st
2nd
3rd
What’s QGIS?
Basic usage
Basic data management
Spatial data handling
Spatial Analysis
Geocording
Create Vector data
About coordi nate system
Create KML data
Utilize OSM data
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Contents Today
1st session
1 What’s QGIS?
2 Basic usage
3 Basic data management
4 Map design
Homework
Copyright (C) 2013 microbase.LLC All Rights Reserved.
What’s Quantum GIS (QGIS)?
• One of open source GIS software named FOSS4G
(Free and Open Source Software for Geospatial)
• a user friendly GUI
• Multi-platform(Win, Mac OS X, Linux)
• Multi-language
• Rich functions for a function enhancement
Copyright (C) 2013 microbase.LLC All Rights Reserved.
What QGIS can do?
Create and edit
GIS data
Display GIS
data
(overlay, thematic
map...)
Select / Join data GIS data analysis
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Basic usage
Copyright (C) 2013 microbase.LLC All Rights Reserved.
2.1 Launch QGIS
• Double click the QGIS shortcut
icon on desktop
• The window will open.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
QGIS window will open like below.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
toolbar
menu
map viewLayer
map info / settings
topmenu
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Install Plugin
• Choose “Fetch Python Plugins...” from “Plugins” on the top menu and
search “Table Manager” from Filter form in “Plugins” tab.
• “Table Manager” is a database management tool.
• Choose and install “Table Manager”.
• When installing plugin, internet environment is necessary.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
• Choose “Manage Plugins...” from “Plugins” on the top menu and
click the “Add DelimitedText Layer”.
• “Add DelimitedText Layer” function is used for importing CSV format data.
• Checked function will be visible on the main menu and able to be used.
“Add Delimited Text
Layer” will be visible.
Plugin Management
Copyright (C) 2013 microbase.LLC All Rights Reserved.
2.2 Add data
GIS data can be devided into 2 types..
• Raster type  ex) JPEG, PNG,TIFF
• Vector type  ex) Shape file(.shp)
For instance, imagine a river and bridge,
Raster type
aggregate of colored
dots
Vector type
line data connecting
starting points and
end points
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Exercise data
lecture1_data
tokyo23
homework1
Copyright (C) 2013 microbase.LLC All Rights Reserved.
About Shape file
• Vector type data mostly used in the world.
• Available in most GIS softwares.
• “Shape file” format is composed of more than 3 files as follows.
*.shp (geometry type and geographical coordinates)
*.dbf (attributes of features such as name and figure)
*.shx (relationship between shp and dbf)
*.prj (the coordinate system and projection info)
Shape file
same file name
These files must be
put in same folder.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
NAME AREA PERIMETER
0
1
2
3
4
5
AAA 18352 644
BBB 22496 756
CCC 22050 602
DDD 7548 352
EEE NA NA
FFF NA NA
*.shp *.dbf*.shx
CCC
AAA
DDD
BBB
Point Data ex) amedas data, shop data
Line Data ex) road data, railway data, river data
Polygon Data ex) city shape, building data
<Feature type>
Copyright (C) 2013 microbase.LLC All Rights Reserved.
1) Click “Add vector layer”
2) Browse file
3) Open
Add “ku.shp” in “tokyo23” folder.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
※ Caution ※
• Japanese GIS data by Government such as National Land
Numerical Information and census data tend to be recorded in
Shift-JIS. If you use Mac OS or Unix, Check that the encoding is
Shift-JIS before adding the data.
• Shift-JIS can be converted to UTF-8 later.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Tokyo special districts are displayed.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Display a feature
1) Click “Identify Feature”
2) Click a feature
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Shibuya info can be shown in a new window.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
1) Click “Save Project”
 (Ctrl + S or Command + S)
2)You can save it any name in any folder.
3) save a project as “.qgs” type
2.3 Save a project
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Exercise1
Add following data in the folder “tokyo23”.
subway.shp (Line data: a subway in Tokyo Special district)
station.shp (Point data: a station in Tokyo Special district)
convenience.shp (Point data: a convenience store in Tokyo
Special district)
elevation.shp (Polygon data: an terrain data in Tokyo special
district)
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Hint
You can select plural files while pushing
Ctrl key ( or Command key).
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Answer
Copyright (C) 2013 microbase.LLC All Rights Reserved.
The order of layer on TOC can be
altered by drag and drop.
Front
Back
2.4 Change an order of each layer
Copyright (C) 2013 microbase.LLC All Rights Reserved.
A layer can be hidden without checking a check
box of layer.
Only subway and station layer
can be seen on map view.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Delete a layer
Delete other than “ku” layer.
#This function doesn’t delete a file
itself in the file directories.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Basic data management
Copyright (C) 2013 microbase.LLC All Rights Reserved.
What’s an “attribute”?
NAME AREA PERIMETER
0
1
2
3
4
5
A棟 18352 644
B棟 22496 756
中庭 22050 602
生協購買 7548 352
ポスト NA NA
道路 NA NA
中庭
A棟
生協購買
B棟
・ポスト
attribute table
“Attribute” means an property of each feature such as a name and an
area. In case a shape file is used, the attribute is saved into a dbf file and
can be edited.
The feature “0” has a name of “A building” and an area of
18,352 square meters, perimeter of 644 meters.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Open Attribute table
See an attribute table of “ku” layer.
• Add “ku.shp” on layer and open its attribute table.
field
Each line
links to
vecoter on
map.
Click “ku” layer on the right
mouse and choose “Open
Attribute Table”.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
If you choose a line from attributes, the
linked map feature also be chosen.
If you choose a map feature on map view,
the linked line also be chosen in the similar
way.
click a line number which
you’d like to choose.
Choose “Select Single
Feature” and click a map
feature on map view.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Select layer by attribute
Select a city which has more than 20 km2 in area from attribute table.
About fields
• KU : city id
• NAME : city name
• PERIMETER [ m]
• AREA [m2]
1) Click “Advanced Search”.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Input a condition expression on “SQL where clause”.
If you click, item will be
added to “SQL where
clause”.
“Test” show you whether the condition expression is
correct or not, and the number of matched features
Input “AREA >= 20,000,000”
( m2 -> km2 )
Copyright (C) 2013 microbase.LLC All Rights Reserved.
12 cities are selected.
Deselect
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Select features under plural conditions
AND and OR enable to select features under plural conditions.
case1: ku which has more than 10 km2 and less than 20km2 in area
AREA >= 10000000 AND AREA < 20000000
AREA < 10000000 OR AREA >= 20000000
Also, NOT is useful when you’d like to select features under
opposite conditions.
case3: ku which doesn’t have not less than 20km2
NOT AREA < 20000000
case2: ku which has less than 10 km2 or more than 20 km2
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Exercise 2
1) Select city features which has more than 50km in “PERIMETER” and
doesn’t have less than 50km2 in “AREA”
2) Save the selected features as “large_wards.shp” in “tokyo23” folder.
3) Open “large_wards.shp” in QGIS
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Answer
PERIMETER >= 50000 AND NOT AREA < 50000000
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Join table
“Join table” is to combine different table based on a key field in
common.
This function is very useful when you combine GIS data with others or
external data such as csv and dbf data.
NAME AREA
0
1
2
Hokkaido 83456.38
Aomori 8918.45
Iwate 15278.85
PREF POP
0
1
2
Hokkaido 5506419
Aomori 1373339
Iwate 1330147
NAME AREA PREF POP
0
1
2
Hokkaido 83456.38 Hokkaido 5506419
Aomori 8918.45 Aomori 1373339
Iwate 15278.85 Iwate 1330147
name, area name,population
add pop field into the target
table based on the
prefecture name.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
The column “pop” has population data inTokyo in 2010.
Load “ku_pop.csv” in “tokyo23” into QGIS.
“Layer” > “add vector” > import csv
Copyright (C) 2013 microbase.LLC All Rights Reserved.
CSV data has been added.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Join population data inTokyo special districts into “ku” layer.
Choose a “join” tab above menu of the layer property “ku” layer
csv layer
Use city name as a key field
shp csv
Copyright (C) 2013 microbase.LLC All Rights Reserved.
You can join / unjoin other data more.
“ku_pop” layer is joined to “ku” layer.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
“ku_pop” attributes has been joined.
Attributes of “ku” Attributes of “ku_pop”
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Decide where one
wants to save the files.
Save the joined layer as “ku_pop.shp” in “tokyo23”.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Open “ku_pop.shp” and check that the attribute table is joined one or not.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Calculate field
“Calculate field” enable to handle field values at once.
Calculate a population density in each area using “pop” and “AREA” fields
in the attribute of “ku”.
Population density = Population / Area [pop / km2]
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Toggle edit mode
Toggle edit mode before
calculate field.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Click “calculate field”.
Calculate field
“pop” field is loaded
as string. the field in
CSV are all regarded
as string.
Caution:
“calculate field can’t
be conducted
when string and
figure data coexist
together.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
to int ( ) = ( ) 内のフィールド値を整数に変換
Fill as above
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Joined!!
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Map Design
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Exercise1
Add following data in the folder “tokyo23”.
subway.shp (Line data: a subway in Tokyo Special district)
station.shp (Point data: a station in Tokyo Special district)
convenience.shp (Point data: a convenience store in Tokyo
Special district)
elevation.shp (Polygon data: an terrain data in Tokyo special
district)
Again
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Change point styles
Click “Property” on the right mouse
button station(or double click the layer).
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Open the window “layer proper ty” and
choose “style” tab.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
“Symbol proper ties” window will open.
1) Change symbol layer type to “SVG marker”
2) Choose a mark of “train” from the image list.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
The station symbol has changed.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Uncheck the check box other than
“elevation” layer and open its
properties(or double click the layer).
Change polygon styles
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Change a color of “elevation layer”
according to elevation value.
Low High
Generally, higher area colors
warm color(ex.red,yellow).
Lower area colors cold
color(ex. blue,green).
Copyright (C) 2013 microbase.LLC All Rights Reserved.
1) Choose “Graduated”. 2) Choose a column “ELEV” which has elevation value.
3) Choose any color ramp.An
original color ramp can be made.
4) Choose a number
of classed and a
classification mode.
5) Finally, click “Classify”.Then the classification
result will be displayed above.
If you’d like to arrange your way, just click
“Symbol color”,“Range” and “Label”.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Result
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Change par tial symbol styles
show different markers depending on attributes.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
1) Choose “Graduated”.
2) Choose and double click a rule row
which you’d like to change.Then the rule
property will open.
(Default setting has no rule)
Copyright (C) 2013 microbase.LLC All Rights Reserved.
4) Input “CNAME LIKE ‘Circle%’ on
“Expression” form.
(or “CNAME = “circleK”)
‘LIKE’ : partial matching
‘=‘ : perfect matching
3)Input any name in “Label” form.
Click “...” next to “Filter” form.
5) Marker type can be chosen
as mentioned before.
A filter rule can be input from
“Expression string builder”.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Existing rule has been edited.
If you’d like to add an another rule or delete
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Only “CircleK” has been displayed.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Display a label
1) Choose “Label” tab from tab menu in Properties “ku”
2) check the checkbox
of “Display labels”.
3) Choose “NAME” in “Field
containing label” form.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
The name of “ku” has been displayed as a
label on the polygon data.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Exercise 2
1) Delete the label “ku”.
2) Add pop.shp(population on street scale).
3) Classify poplation in 1995(“P1995”) into 4 categories as follows.
class 1 : 0 ∼ 1000 (blue)
class 2 : 1001 ∼ 2500 (green)
class 3 : 2501 ∼ 5000 (yellow)
class 4 : 5001 ∼ (red)
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Hint
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Answer
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Map Expor t
Export your map an imagery file for printing. QGIS has an additional
function such as adding a direction symbol and a scale bar for printing.
Click “New print composer” icon from toolbars.
Add a map, symbols and others to
Initial screen from the menu.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
1) Click “Add new map” icon
Add a map into composer screen
2) Drag at any place on the composer
screen while choosing “Add new map” icon
map size and other settings
can be adjusted freely.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Those elements can be
modified from “Item
Properties” at the right side
Add icon and
pictures.
Add Label
Add legend
Export as an
imagery, PDF, SVG.
Copyright (C) 2013 microbase.LLC All Rights Reserved.
Contents Today
1st session
1 What’s QGIS?
2 Basic usage
3 Basic data management
4 Map Design
Copyright (C) 2013 microbase.LLC All Rights Reserved.
HOMEWORK
Copyright (C) 2013 microbase.LLC All Rights Reserved.
DATA
homework1
pref_pop.csv
Japan_pref.shp
Copyright (C) 2013 microbase.LLC All Rights Reserved.
(1) Add Japan_pref.shp and pref_pop.csv on layer.
(2) Join Japan_pref layer with pref_pop and save it as
Japan_pref_new.shp .
(3) Calculate population density in all prefecture using both
pop2010 and pop2035 field.
(4) Classify the poplation density in 2010 and 2035 into 5
categories.

Weitere ähnliche Inhalte

Was ist angesagt?

DATABASE & WEBGIS - GIS BOOTCAMP
DATABASE & WEBGIS - GIS BOOTCAMPDATABASE & WEBGIS - GIS BOOTCAMP
DATABASE & WEBGIS - GIS BOOTCAMP
Kevin Ng'eno
 
Arc gis introduction-ppt
Arc gis introduction-pptArc gis introduction-ppt
Arc gis introduction-ppt
Ashok Peddi
 

Was ist angesagt? (20)

GIS and QGIS training notes
GIS and QGIS training notesGIS and QGIS training notes
GIS and QGIS training notes
 
Introduction to GIS
Introduction to GISIntroduction to GIS
Introduction to GIS
 
GEOPROCESSING IN QGIS
GEOPROCESSING IN QGISGEOPROCESSING IN QGIS
GEOPROCESSING IN QGIS
 
Image classification arc gis10
Image classification arc gis10Image classification arc gis10
Image classification arc gis10
 
DATABASE & WEBGIS - GIS BOOTCAMP
DATABASE & WEBGIS - GIS BOOTCAMPDATABASE & WEBGIS - GIS BOOTCAMP
DATABASE & WEBGIS - GIS BOOTCAMP
 
QGIS Basic Training
QGIS Basic Training QGIS Basic Training
QGIS Basic Training
 
Introduction to arc gis
Introduction to arc gisIntroduction to arc gis
Introduction to arc gis
 
6. Shapefiles in gis
6. Shapefiles in gis6. Shapefiles in gis
6. Shapefiles in gis
 
Introduction to gis
Introduction to gisIntroduction to gis
Introduction to gis
 
Introduction to ArcGIS
Introduction to ArcGISIntroduction to ArcGIS
Introduction to ArcGIS
 
Geoprocessing
GeoprocessingGeoprocessing
Geoprocessing
 
Arc gis introduction-ppt
Arc gis introduction-pptArc gis introduction-ppt
Arc gis introduction-ppt
 
OSM and QGIS
OSM and QGISOSM and QGIS
OSM and QGIS
 
Gis functions
Gis functionsGis functions
Gis functions
 
GIS - lecture-1.ppt
GIS - lecture-1.pptGIS - lecture-1.ppt
GIS - lecture-1.ppt
 
GIS file types
GIS file typesGIS file types
GIS file types
 
Introduction to GIS
Introduction to GISIntroduction to GIS
Introduction to GIS
 
Functions of GIS
Functions of GISFunctions of GIS
Functions of GIS
 
QGIS Module 4
QGIS Module 4QGIS Module 4
QGIS Module 4
 
Geographical Information System (GIS) Georeferencing and Digitization, Bihar ...
Geographical Information System (GIS) Georeferencing and Digitization, Bihar ...Geographical Information System (GIS) Georeferencing and Digitization, Bihar ...
Geographical Information System (GIS) Georeferencing and Digitization, Bihar ...
 

Andere mochten auch

Geographic information system
Geographic information systemGeographic information system
Geographic information system
Sumanta Das
 
The shine study
The shine studyThe shine study
The shine study
CAPSUCSF
 
Urban health study ii
Urban health study iiUrban health study ii
Urban health study ii
CAPSUCSF
 

Andere mochten auch (18)

QGIS training class 2
QGIS training class 2QGIS training class 2
QGIS training class 2
 
All the New Cool Stuff in QGIS 2.0
All the New Cool Stuff in QGIS 2.0All the New Cool Stuff in QGIS 2.0
All the New Cool Stuff in QGIS 2.0
 
超初心者向けハンズオン講座 「ゼロから始めるQGIS」 準備手順書
超初心者向けハンズオン講座 「ゼロから始めるQGIS」 準備手順書超初心者向けハンズオン講座 「ゼロから始めるQGIS」 準備手順書
超初心者向けハンズオン講座 「ゼロから始めるQGIS」 準備手順書
 
超初心者向けハンズオン講座 「ゼロから始めるQGIS」
超初心者向けハンズオン講座 「ゼロから始めるQGIS」超初心者向けハンズオン講座 「ゼロから始めるQGIS」
超初心者向けハンズオン講座 「ゼロから始めるQGIS」
 
QGIS UK User Group - Developing with QGIS (Lutra)
QGIS UK User Group - Developing with QGIS (Lutra)QGIS UK User Group - Developing with QGIS (Lutra)
QGIS UK User Group - Developing with QGIS (Lutra)
 
QGIS and Altas: Automatic map generation
QGIS and Altas: Automatic map generationQGIS and Altas: Automatic map generation
QGIS and Altas: Automatic map generation
 
FOSS4G 2016 Tokyo Qgis初級編テキスト
FOSS4G 2016 Tokyo Qgis初級編テキストFOSS4G 2016 Tokyo Qgis初級編テキスト
FOSS4G 2016 Tokyo Qgis初級編テキスト
 
Geographic information system
Geographic information systemGeographic information system
Geographic information system
 
Gis (geographic information system)
Gis (geographic information system)Gis (geographic information system)
Gis (geographic information system)
 
GIS presentation
GIS presentationGIS presentation
GIS presentation
 
My ppt on gis
My ppt on gisMy ppt on gis
My ppt on gis
 
OpenStreetmap: non solo mappe al LUG Legnano
OpenStreetmap: non solo mappe al LUG LegnanoOpenStreetmap: non solo mappe al LUG Legnano
OpenStreetmap: non solo mappe al LUG Legnano
 
Hotspot Analysis with QGIS - FOSS4G-IT 2017
Hotspot Analysis with QGIS  - FOSS4G-IT 2017Hotspot Analysis with QGIS  - FOSS4G-IT 2017
Hotspot Analysis with QGIS - FOSS4G-IT 2017
 
The shine study
The shine studyThe shine study
The shine study
 
Urban health study ii
Urban health study iiUrban health study ii
Urban health study ii
 
Analisi posizionamento punto ristorazione Salerno
Analisi posizionamento punto ristorazione SalernoAnalisi posizionamento punto ristorazione Salerno
Analisi posizionamento punto ristorazione Salerno
 
QGIS Workshop Introduction - CalGIS 2015
QGIS Workshop Introduction - CalGIS 2015QGIS Workshop Introduction - CalGIS 2015
QGIS Workshop Introduction - CalGIS 2015
 
Portfolio Development
Portfolio DevelopmentPortfolio Development
Portfolio Development
 

Ähnlich wie QGIS training class 1

Best practices for_managing_geospatial_data1
Best practices for_managing_geospatial_data1Best practices for_managing_geospatial_data1
Best practices for_managing_geospatial_data1
Leng Kim Leng
 
Dsm Presentation
Dsm PresentationDsm Presentation
Dsm Presentation
richoe
 
GIS 5103 – Fundamentals of GISLecture 83D GIS.docx
GIS 5103 – Fundamentals of GISLecture 83D GIS.docxGIS 5103 – Fundamentals of GISLecture 83D GIS.docx
GIS 5103 – Fundamentals of GISLecture 83D GIS.docx
shericehewat
 
Ugif 10 2012 lycia2 introduction in 45 minutes
Ugif 10 2012 lycia2 introduction in 45 minutesUgif 10 2012 lycia2 introduction in 45 minutes
Ugif 10 2012 lycia2 introduction in 45 minutes
UGIF
 
How to empower community by using GIS lecture 2
How to empower community by using GIS lecture 2How to empower community by using GIS lecture 2
How to empower community by using GIS lecture 2
wang yaohui
 
AvisMap GIS Products Overview
AvisMap GIS Products OverviewAvisMap GIS Products Overview
AvisMap GIS Products Overview
avismapsoftware
 

Ähnlich wie QGIS training class 1 (20)

2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...
2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...
2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...
 
RS and GIS TW- 1&2.pdf
RS and GIS TW- 1&2.pdfRS and GIS TW- 1&2.pdf
RS and GIS TW- 1&2.pdf
 
A practical guide to GIS in Civil 3D
A practical guide to GIS in Civil 3DA practical guide to GIS in Civil 3D
A practical guide to GIS in Civil 3D
 
2016 workshops: understanding the language of gis and cad by warren geissler
2016 workshops:  understanding  the language  of gis and cad by warren geissler2016 workshops:  understanding  the language  of gis and cad by warren geissler
2016 workshops: understanding the language of gis and cad by warren geissler
 
Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into Maps
 
Best practices for_managing_geospatial_data1
Best practices for_managing_geospatial_data1Best practices for_managing_geospatial_data1
Best practices for_managing_geospatial_data1
 
Introduction to mago3D, an Open Source Based Digital Twin Platform
Introduction to mago3D, an Open Source Based Digital Twin PlatformIntroduction to mago3D, an Open Source Based Digital Twin Platform
Introduction to mago3D, an Open Source Based Digital Twin Platform
 
Dsm Presentation
Dsm PresentationDsm Presentation
Dsm Presentation
 
GIS 5103 – Fundamentals of GISLecture 83D GIS.docx
GIS 5103 – Fundamentals of GISLecture 83D GIS.docxGIS 5103 – Fundamentals of GISLecture 83D GIS.docx
GIS 5103 – Fundamentals of GISLecture 83D GIS.docx
 
Unleashing the Power of Data Interoperability - UMass Amherst
Unleashing the Power of Data Interoperability - UMass AmherstUnleashing the Power of Data Interoperability - UMass Amherst
Unleashing the Power of Data Interoperability - UMass Amherst
 
Opensource gis development - part 5
Opensource gis development - part 5Opensource gis development - part 5
Opensource gis development - part 5
 
Ugif 10 2012 lycia2 introduction in 45 minutes
Ugif 10 2012 lycia2 introduction in 45 minutesUgif 10 2012 lycia2 introduction in 45 minutes
Ugif 10 2012 lycia2 introduction in 45 minutes
 
Case Study about BIM on GIS platform development project with the standard model
Case Study about BIM on GIS platform development project with the standard modelCase Study about BIM on GIS platform development project with the standard model
Case Study about BIM on GIS platform development project with the standard model
 
dashDB: the GIS professional’s bridge to mainstream IT systems
dashDB: the GIS professional’s bridge to mainstream IT systemsdashDB: the GIS professional’s bridge to mainstream IT systems
dashDB: the GIS professional’s bridge to mainstream IT systems
 
Map Making with QGIS
Map Making with QGISMap Making with QGIS
Map Making with QGIS
 
Map Making with QGIS
Map Making with QGISMap Making with QGIS
Map Making with QGIS
 
How to empower community by using GIS lecture 2
How to empower community by using GIS lecture 2How to empower community by using GIS lecture 2
How to empower community by using GIS lecture 2
 
Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019
 
AvisMap GIS Products Overview
AvisMap GIS Products OverviewAvisMap GIS Products Overview
AvisMap GIS Products Overview
 
Agi08 Jeremy Morley
Agi08 Jeremy MorleyAgi08 Jeremy Morley
Agi08 Jeremy Morley
 

Mehr von Hiroaki Sengoku

Mobmap人流データ解析入門
Mobmap人流データ解析入門Mobmap人流データ解析入門
Mobmap人流データ解析入門
Hiroaki Sengoku
 
Foss4 g2013 geoxcode_sengoku
Foss4 g2013 geoxcode_sengokuFoss4 g2013 geoxcode_sengoku
Foss4 g2013 geoxcode_sengoku
Hiroaki Sengoku
 

Mehr von Hiroaki Sengoku (20)

社会を支えるインフラが、 社会の問題にならないために。 上水道インフラへのAI導入の挑戦。
 社会を支えるインフラが、 社会の問題にならないために。 上水道インフラへのAI導入の挑戦。 社会を支えるインフラが、 社会の問題にならないために。 上水道インフラへのAI導入の挑戦。
社会を支えるインフラが、 社会の問題にならないために。 上水道インフラへのAI導入の挑戦。
 
都市計画情報を考慮した ミクロな将来世帯数の推計手法の構築
都市計画情報を考慮した ミクロな将来世帯数の推計手法の構築都市計画情報を考慮した ミクロな将来世帯数の推計手法の構築
都市計画情報を考慮した ミクロな将来世帯数の推計手法の構築
 
物流オープンデータ活用コンテストに応募してみよう!!
物流オープンデータ活用コンテストに応募してみよう!!物流オープンデータ活用コンテストに応募してみよう!!
物流オープンデータ活用コンテストに応募してみよう!!
 
Pythonではじめるロケーションデータ解析
Pythonではじめるロケーションデータ解析Pythonではじめるロケーションデータ解析
Pythonではじめるロケーションデータ解析
 
mobmap hands-on @ FOSS4G SEOUL 2015
mobmap hands-on @ FOSS4G SEOUL 2015mobmap hands-on @ FOSS4G SEOUL 2015
mobmap hands-on @ FOSS4G SEOUL 2015
 
位置情報にまつわるデータ補間技術
位置情報にまつわるデータ補間技術位置情報にまつわるデータ補間技術
位置情報にまつわるデータ補間技術
 
2014年度中部大学共同研究報告
2014年度中部大学共同研究報告2014年度中部大学共同研究報告
2014年度中部大学共同研究報告
 
人流データ解析プラットフォーム Mobmap
人流データ解析プラットフォーム Mobmap人流データ解析プラットフォーム Mobmap
人流データ解析プラットフォーム Mobmap
 
みんなでつくるデジタル地図教材 学校支援活動
みんなでつくるデジタル地図教材 学校支援活動みんなでつくるデジタル地図教材 学校支援活動
みんなでつくるデジタル地図教材 学校支援活動
 
Mobmap人流データ解析入門
Mobmap人流データ解析入門Mobmap人流データ解析入門
Mobmap人流データ解析入門
 
伊能社中の一億総伊能化計画
伊能社中の一億総伊能化計画伊能社中の一億総伊能化計画
伊能社中の一億総伊能化計画
 
学び方・教え方が変わる!直感で学べる電子地図教材
学び方・教え方が変わる!直感で学べる電子地図教材学び方・教え方が変わる!直感で学べる電子地図教材
学び方・教え方が変わる!直感で学べる電子地図教材
 
Foss4 g2013 geoxcode_sengoku
Foss4 g2013 geoxcode_sengokuFoss4 g2013 geoxcode_sengoku
Foss4 g2013 geoxcode_sengoku
 
Qgis install guide
Qgis install guideQgis install guide
Qgis install guide
 
Introduction of open source gis
Introduction of open source gisIntroduction of open source gis
Introduction of open source gis
 
伊能社中 地図研修会【入門編】【初級編】
伊能社中 地図研修会【入門編】【初級編】伊能社中 地図研修会【入門編】【初級編】
伊能社中 地図研修会【入門編】【初級編】
 
Foss4 gマイクロジオデータ解析入門
Foss4 gマイクロジオデータ解析入門Foss4 gマイクロジオデータ解析入門
Foss4 gマイクロジオデータ解析入門
 
GIS future prospects pioneered by microgeodata usage
GIS future prospects pioneered by microgeodata usageGIS future prospects pioneered by microgeodata usage
GIS future prospects pioneered by microgeodata usage
 
QGIS入門(1)
QGIS入門(1)QGIS入門(1)
QGIS入門(1)
 
Qgislecture 0
Qgislecture 0Qgislecture 0
Qgislecture 0
 

Kürzlich hochgeladen

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Kürzlich hochgeladen (20)

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 

QGIS training class 1

  • 1. Copyright (C) 2013 microbase.LLC All Rights Reserved. Geographic Information System QGIS Introduction(1) microbase.LLC http://microgeodata.com/
  • 2. Copyright (C) 2013 microbase.LLC All Rights Reserved. Agenda 1st 2nd 3rd What’s QGIS? Basic usage Basic data management Spatial data handling Spatial Analysis Geocording Create Vector data About coordi nate system Create KML data Utilize OSM data
  • 3. Copyright (C) 2013 microbase.LLC All Rights Reserved. Contents Today 1st session 1 What’s QGIS? 2 Basic usage 3 Basic data management 4 Map design Homework
  • 4. Copyright (C) 2013 microbase.LLC All Rights Reserved. What’s Quantum GIS (QGIS)? • One of open source GIS software named FOSS4G (Free and Open Source Software for Geospatial) • a user friendly GUI • Multi-platform(Win, Mac OS X, Linux) • Multi-language • Rich functions for a function enhancement
  • 5. Copyright (C) 2013 microbase.LLC All Rights Reserved. What QGIS can do? Create and edit GIS data Display GIS data (overlay, thematic map...) Select / Join data GIS data analysis
  • 6. Copyright (C) 2013 microbase.LLC All Rights Reserved. Basic usage
  • 7. Copyright (C) 2013 microbase.LLC All Rights Reserved. 2.1 Launch QGIS • Double click the QGIS shortcut icon on desktop • The window will open.
  • 8. Copyright (C) 2013 microbase.LLC All Rights Reserved. QGIS window will open like below.
  • 9. Copyright (C) 2013 microbase.LLC All Rights Reserved. toolbar menu map viewLayer map info / settings topmenu
  • 10. Copyright (C) 2013 microbase.LLC All Rights Reserved. Install Plugin • Choose “Fetch Python Plugins...” from “Plugins” on the top menu and search “Table Manager” from Filter form in “Plugins” tab. • “Table Manager” is a database management tool. • Choose and install “Table Manager”. • When installing plugin, internet environment is necessary.
  • 11. Copyright (C) 2013 microbase.LLC All Rights Reserved. • Choose “Manage Plugins...” from “Plugins” on the top menu and click the “Add DelimitedText Layer”. • “Add DelimitedText Layer” function is used for importing CSV format data. • Checked function will be visible on the main menu and able to be used. “Add Delimited Text Layer” will be visible. Plugin Management
  • 12. Copyright (C) 2013 microbase.LLC All Rights Reserved. 2.2 Add data GIS data can be devided into 2 types.. • Raster type  ex) JPEG, PNG,TIFF • Vector type  ex) Shape file(.shp) For instance, imagine a river and bridge, Raster type aggregate of colored dots Vector type line data connecting starting points and end points
  • 13. Copyright (C) 2013 microbase.LLC All Rights Reserved. Exercise data lecture1_data tokyo23 homework1
  • 14. Copyright (C) 2013 microbase.LLC All Rights Reserved. About Shape file • Vector type data mostly used in the world. • Available in most GIS softwares. • “Shape file” format is composed of more than 3 files as follows. *.shp (geometry type and geographical coordinates) *.dbf (attributes of features such as name and figure) *.shx (relationship between shp and dbf) *.prj (the coordinate system and projection info) Shape file same file name These files must be put in same folder.
  • 15. Copyright (C) 2013 microbase.LLC All Rights Reserved. NAME AREA PERIMETER 0 1 2 3 4 5 AAA 18352 644 BBB 22496 756 CCC 22050 602 DDD 7548 352 EEE NA NA FFF NA NA *.shp *.dbf*.shx CCC AAA DDD BBB Point Data ex) amedas data, shop data Line Data ex) road data, railway data, river data Polygon Data ex) city shape, building data <Feature type>
  • 16. Copyright (C) 2013 microbase.LLC All Rights Reserved. 1) Click “Add vector layer” 2) Browse file 3) Open Add “ku.shp” in “tokyo23” folder.
  • 17. Copyright (C) 2013 microbase.LLC All Rights Reserved. ※ Caution ※ • Japanese GIS data by Government such as National Land Numerical Information and census data tend to be recorded in Shift-JIS. If you use Mac OS or Unix, Check that the encoding is Shift-JIS before adding the data. • Shift-JIS can be converted to UTF-8 later.
  • 18. Copyright (C) 2013 microbase.LLC All Rights Reserved. Tokyo special districts are displayed.
  • 19. Copyright (C) 2013 microbase.LLC All Rights Reserved. Display a feature 1) Click “Identify Feature” 2) Click a feature
  • 20. Copyright (C) 2013 microbase.LLC All Rights Reserved. Shibuya info can be shown in a new window.
  • 21. Copyright (C) 2013 microbase.LLC All Rights Reserved. 1) Click “Save Project”  (Ctrl + S or Command + S) 2)You can save it any name in any folder. 3) save a project as “.qgs” type 2.3 Save a project
  • 22. Copyright (C) 2013 microbase.LLC All Rights Reserved. Exercise1 Add following data in the folder “tokyo23”. subway.shp (Line data: a subway in Tokyo Special district) station.shp (Point data: a station in Tokyo Special district) convenience.shp (Point data: a convenience store in Tokyo Special district) elevation.shp (Polygon data: an terrain data in Tokyo special district)
  • 23. Copyright (C) 2013 microbase.LLC All Rights Reserved. Hint You can select plural files while pushing Ctrl key ( or Command key).
  • 24. Copyright (C) 2013 microbase.LLC All Rights Reserved. Answer
  • 25. Copyright (C) 2013 microbase.LLC All Rights Reserved. The order of layer on TOC can be altered by drag and drop. Front Back 2.4 Change an order of each layer
  • 26. Copyright (C) 2013 microbase.LLC All Rights Reserved. A layer can be hidden without checking a check box of layer. Only subway and station layer can be seen on map view.
  • 27. Copyright (C) 2013 microbase.LLC All Rights Reserved. Delete a layer Delete other than “ku” layer. #This function doesn’t delete a file itself in the file directories.
  • 28. Copyright (C) 2013 microbase.LLC All Rights Reserved. Basic data management
  • 29. Copyright (C) 2013 microbase.LLC All Rights Reserved. What’s an “attribute”? NAME AREA PERIMETER 0 1 2 3 4 5 A棟 18352 644 B棟 22496 756 中庭 22050 602 生協購買 7548 352 ポスト NA NA 道路 NA NA 中庭 A棟 生協購買 B棟 ・ポスト attribute table “Attribute” means an property of each feature such as a name and an area. In case a shape file is used, the attribute is saved into a dbf file and can be edited. The feature “0” has a name of “A building” and an area of 18,352 square meters, perimeter of 644 meters.
  • 30. Copyright (C) 2013 microbase.LLC All Rights Reserved. Open Attribute table See an attribute table of “ku” layer. • Add “ku.shp” on layer and open its attribute table. field Each line links to vecoter on map. Click “ku” layer on the right mouse and choose “Open Attribute Table”.
  • 31. Copyright (C) 2013 microbase.LLC All Rights Reserved. If you choose a line from attributes, the linked map feature also be chosen. If you choose a map feature on map view, the linked line also be chosen in the similar way. click a line number which you’d like to choose. Choose “Select Single Feature” and click a map feature on map view.
  • 32. Copyright (C) 2013 microbase.LLC All Rights Reserved. Select layer by attribute Select a city which has more than 20 km2 in area from attribute table. About fields • KU : city id • NAME : city name • PERIMETER [ m] • AREA [m2] 1) Click “Advanced Search”.
  • 33. Copyright (C) 2013 microbase.LLC All Rights Reserved. Input a condition expression on “SQL where clause”. If you click, item will be added to “SQL where clause”. “Test” show you whether the condition expression is correct or not, and the number of matched features Input “AREA >= 20,000,000” ( m2 -> km2 )
  • 34. Copyright (C) 2013 microbase.LLC All Rights Reserved. 12 cities are selected. Deselect
  • 35. Copyright (C) 2013 microbase.LLC All Rights Reserved. Select features under plural conditions AND and OR enable to select features under plural conditions. case1: ku which has more than 10 km2 and less than 20km2 in area AREA >= 10000000 AND AREA < 20000000 AREA < 10000000 OR AREA >= 20000000 Also, NOT is useful when you’d like to select features under opposite conditions. case3: ku which doesn’t have not less than 20km2 NOT AREA < 20000000 case2: ku which has less than 10 km2 or more than 20 km2
  • 36. Copyright (C) 2013 microbase.LLC All Rights Reserved. Exercise 2 1) Select city features which has more than 50km in “PERIMETER” and doesn’t have less than 50km2 in “AREA” 2) Save the selected features as “large_wards.shp” in “tokyo23” folder. 3) Open “large_wards.shp” in QGIS
  • 37. Copyright (C) 2013 microbase.LLC All Rights Reserved. Answer PERIMETER >= 50000 AND NOT AREA < 50000000
  • 38. Copyright (C) 2013 microbase.LLC All Rights Reserved. Join table “Join table” is to combine different table based on a key field in common. This function is very useful when you combine GIS data with others or external data such as csv and dbf data. NAME AREA 0 1 2 Hokkaido 83456.38 Aomori 8918.45 Iwate 15278.85 PREF POP 0 1 2 Hokkaido 5506419 Aomori 1373339 Iwate 1330147 NAME AREA PREF POP 0 1 2 Hokkaido 83456.38 Hokkaido 5506419 Aomori 8918.45 Aomori 1373339 Iwate 15278.85 Iwate 1330147 name, area name,population add pop field into the target table based on the prefecture name.
  • 39. Copyright (C) 2013 microbase.LLC All Rights Reserved. The column “pop” has population data inTokyo in 2010. Load “ku_pop.csv” in “tokyo23” into QGIS. “Layer” > “add vector” > import csv
  • 40. Copyright (C) 2013 microbase.LLC All Rights Reserved. CSV data has been added.
  • 41. Copyright (C) 2013 microbase.LLC All Rights Reserved. Join population data inTokyo special districts into “ku” layer. Choose a “join” tab above menu of the layer property “ku” layer csv layer Use city name as a key field shp csv
  • 42. Copyright (C) 2013 microbase.LLC All Rights Reserved. You can join / unjoin other data more. “ku_pop” layer is joined to “ku” layer.
  • 43. Copyright (C) 2013 microbase.LLC All Rights Reserved. “ku_pop” attributes has been joined. Attributes of “ku” Attributes of “ku_pop”
  • 44. Copyright (C) 2013 microbase.LLC All Rights Reserved. Decide where one wants to save the files. Save the joined layer as “ku_pop.shp” in “tokyo23”.
  • 45. Copyright (C) 2013 microbase.LLC All Rights Reserved. Open “ku_pop.shp” and check that the attribute table is joined one or not.
  • 46. Copyright (C) 2013 microbase.LLC All Rights Reserved. Calculate field “Calculate field” enable to handle field values at once. Calculate a population density in each area using “pop” and “AREA” fields in the attribute of “ku”. Population density = Population / Area [pop / km2]
  • 47. Copyright (C) 2013 microbase.LLC All Rights Reserved. Toggle edit mode Toggle edit mode before calculate field.
  • 48. Copyright (C) 2013 microbase.LLC All Rights Reserved. Click “calculate field”. Calculate field “pop” field is loaded as string. the field in CSV are all regarded as string. Caution: “calculate field can’t be conducted when string and figure data coexist together.
  • 49. Copyright (C) 2013 microbase.LLC All Rights Reserved. to int ( ) = ( ) 内のフィールド値を整数に変換 Fill as above
  • 50. Copyright (C) 2013 microbase.LLC All Rights Reserved. Joined!!
  • 51. Copyright (C) 2013 microbase.LLC All Rights Reserved. Map Design
  • 52. Copyright (C) 2013 microbase.LLC All Rights Reserved. Exercise1 Add following data in the folder “tokyo23”. subway.shp (Line data: a subway in Tokyo Special district) station.shp (Point data: a station in Tokyo Special district) convenience.shp (Point data: a convenience store in Tokyo Special district) elevation.shp (Polygon data: an terrain data in Tokyo special district) Again
  • 53. Copyright (C) 2013 microbase.LLC All Rights Reserved. Change point styles Click “Property” on the right mouse button station(or double click the layer).
  • 54. Copyright (C) 2013 microbase.LLC All Rights Reserved. Open the window “layer proper ty” and choose “style” tab.
  • 55. Copyright (C) 2013 microbase.LLC All Rights Reserved. “Symbol proper ties” window will open. 1) Change symbol layer type to “SVG marker” 2) Choose a mark of “train” from the image list.
  • 56. Copyright (C) 2013 microbase.LLC All Rights Reserved. The station symbol has changed.
  • 57. Copyright (C) 2013 microbase.LLC All Rights Reserved. Uncheck the check box other than “elevation” layer and open its properties(or double click the layer). Change polygon styles
  • 58. Copyright (C) 2013 microbase.LLC All Rights Reserved. Change a color of “elevation layer” according to elevation value. Low High Generally, higher area colors warm color(ex.red,yellow). Lower area colors cold color(ex. blue,green).
  • 59. Copyright (C) 2013 microbase.LLC All Rights Reserved. 1) Choose “Graduated”. 2) Choose a column “ELEV” which has elevation value. 3) Choose any color ramp.An original color ramp can be made. 4) Choose a number of classed and a classification mode. 5) Finally, click “Classify”.Then the classification result will be displayed above. If you’d like to arrange your way, just click “Symbol color”,“Range” and “Label”.
  • 60. Copyright (C) 2013 microbase.LLC All Rights Reserved. Result
  • 61. Copyright (C) 2013 microbase.LLC All Rights Reserved. Change par tial symbol styles show different markers depending on attributes.
  • 62. Copyright (C) 2013 microbase.LLC All Rights Reserved. 1) Choose “Graduated”. 2) Choose and double click a rule row which you’d like to change.Then the rule property will open. (Default setting has no rule)
  • 63. Copyright (C) 2013 microbase.LLC All Rights Reserved. 4) Input “CNAME LIKE ‘Circle%’ on “Expression” form. (or “CNAME = “circleK”) ‘LIKE’ : partial matching ‘=‘ : perfect matching 3)Input any name in “Label” form. Click “...” next to “Filter” form. 5) Marker type can be chosen as mentioned before. A filter rule can be input from “Expression string builder”.
  • 64. Copyright (C) 2013 microbase.LLC All Rights Reserved. Existing rule has been edited. If you’d like to add an another rule or delete
  • 65. Copyright (C) 2013 microbase.LLC All Rights Reserved. Only “CircleK” has been displayed.
  • 66. Copyright (C) 2013 microbase.LLC All Rights Reserved. Display a label 1) Choose “Label” tab from tab menu in Properties “ku” 2) check the checkbox of “Display labels”. 3) Choose “NAME” in “Field containing label” form.
  • 67. Copyright (C) 2013 microbase.LLC All Rights Reserved. The name of “ku” has been displayed as a label on the polygon data.
  • 68. Copyright (C) 2013 microbase.LLC All Rights Reserved. Exercise 2 1) Delete the label “ku”. 2) Add pop.shp(population on street scale). 3) Classify poplation in 1995(“P1995”) into 4 categories as follows. class 1 : 0 ∼ 1000 (blue) class 2 : 1001 ∼ 2500 (green) class 3 : 2501 ∼ 5000 (yellow) class 4 : 5001 ∼ (red)
  • 69. Copyright (C) 2013 microbase.LLC All Rights Reserved. Hint
  • 70. Copyright (C) 2013 microbase.LLC All Rights Reserved. Answer
  • 71. Copyright (C) 2013 microbase.LLC All Rights Reserved. Map Expor t Export your map an imagery file for printing. QGIS has an additional function such as adding a direction symbol and a scale bar for printing. Click “New print composer” icon from toolbars. Add a map, symbols and others to Initial screen from the menu.
  • 72. Copyright (C) 2013 microbase.LLC All Rights Reserved. 1) Click “Add new map” icon Add a map into composer screen 2) Drag at any place on the composer screen while choosing “Add new map” icon map size and other settings can be adjusted freely.
  • 73. Copyright (C) 2013 microbase.LLC All Rights Reserved. Those elements can be modified from “Item Properties” at the right side Add icon and pictures. Add Label Add legend Export as an imagery, PDF, SVG.
  • 74. Copyright (C) 2013 microbase.LLC All Rights Reserved. Contents Today 1st session 1 What’s QGIS? 2 Basic usage 3 Basic data management 4 Map Design
  • 75. Copyright (C) 2013 microbase.LLC All Rights Reserved. HOMEWORK
  • 76. Copyright (C) 2013 microbase.LLC All Rights Reserved. DATA homework1 pref_pop.csv Japan_pref.shp
  • 77. Copyright (C) 2013 microbase.LLC All Rights Reserved. (1) Add Japan_pref.shp and pref_pop.csv on layer. (2) Join Japan_pref layer with pref_pop and save it as Japan_pref_new.shp . (3) Calculate population density in all prefecture using both pop2010 and pop2035 field. (4) Classify the poplation density in 2010 and 2035 into 5 categories.