SlideShare a Scribd company logo
1 of 33
Download to read offline
Kilaini M Arnold
1
Prepared by Arnold Kilaini
Contents
Introduction to (GIS) Geographic Information Systems (GIS) .............................................................................2
INTRODUCTION TO QGIS.............................................................................................................................. 10
A Free and Open Source Geographic Information System...................................................... 10
Adding Vector Layer/Ctrl+Shif+V.................................................................................................................. 10
Adding Raster Layer/ Ctrl+Shif+V ................................................................................................................. 12
Importing GPX file in QGIS and Cleaning ...................................................................................................... 14
Editing in shapefiles in QGIS and Cleaning ................................................................................................... 17
Creating New Shapefile Layer with the Google map base map ................................................................... 19
Merging Shapefiles to Single file .................................................................................................................. 25
Filtering and Separation from Main District roads........................................................................................ 27
Kilaini M Arnold
2
Introduction to (GIS) Geographic Information Systems (GIS)
Source: John Snow Inc. www.jsi.com
In the 1850s, cholera was very poorly understood and massive outbreaks were a common occurrence
in major industrial cities. An outbreak in London in 1854 in the Soho district was typical of the time,
and the deaths it caused are shown in the map below.
Dr John Snow is known as the ‘father of modern epidemiology’ and the ‘father of GIS’ because of
the famous case of the 1854 Cholera outbreak in London’s Broad Street region.
Kilaini M Arnold
3
Source: UCLA http://www.ph.ucla.edu/epi/snow/snowmap1_1854_lge.htm
The map was made by Dr John Snow, who has conceived the hypothesis that cholera was
transmitted through the drinking of polluted water, rather than through the air, as was commonly
believed. He noticed that the outbreak appeared to be centred on a public drinking water pump in
Broad Street – and if this hypothesis was correct, the pattern shown on the map would reflect the
locations of people who drank the pump’s water. There were anomalies, in the sense that deaths had
occurred in households that were located closer to other sources of water, but he was able to confirm
that these households also drew their water from the Broad Street pump. Snow had the handle of the
pump removed, and the outbreak subsided, providing direct causal evidence in favour of his
hypothesis.
Types of GIS
There are a number of Geographical Information Systems (GIS) (or GIS software) available today.
They range from high-powered analytical software to visual web applications, and each of those are
used for a different purpose.
Due to the vast number of GIS available it is simply not possible to provide training for each in this
course. However, there are common feature in all GIS. Understanding these basic features will give
you confidence with any GIS system that you use in the future.
Kilaini M Arnold
4
This following are three groups of GIS:
• Web-based GIS: ONS and London Profiler
• Geobrowser: Google Earth
• Desktop GIS:Quantum GIS(QGIS), ArcGIS,QGIS etc
Defining Geographic Information Systems (GIS)
• The common ground between information processing and the many fields using spatial
analysis techniques. (Tomlinson, 1972)-Father of GIS
• A powerful set of tools for collecting, storing, retrieving, transforming, and displaying spatial
data from the real world. (Burroughs, 1986)
• A computerised database management system for the capture, storage, retrieval, analysis and
display of spatial (locationally defined) data. (NCGIA, 1987)
• A decision support system involving the integration of spatially referenced data in a problem
solving environment. (Cowen, 1988)
Examples of Applied GIS
• Urban Planning, Management
& Policy
– Zoning, subdivision
planning
– Land acquisition
– Economic development
– Code enforcement
– Housing renovation
programs
– Emergency response
– Crime analysis
– Tax assessment
• Civil Engineering/Utility
– Locating underground
facilities
– Designing alignment for
freeways, transit
– Coordination of
infrastructure
maintenance
• Environmental Sciences • Real Estate
Kilaini M Arnold
5
– Monitoring
environmental risk
– Modeling stormwater
runoff
– Management of
watersheds, floodplains,
wetlands, forests,
aquifers
– Environmental Impact
Analysis
– Hazardous or toxic
facility siting
– Groundwater modeling
and contamination
tracking
– Neighborhood land
prices
– Traffic Impact Analysis
– Determination of
Highest and Best Use
• Political Science
– Redistricting
– Analysis of election
results
– Predictive modeling
• Health Care
– Epidemiology
– Needs Analysis
– Service Inventory
GIS System Architecture and Components
Data Input
Query Input
Geographic
Database
Transformation and
Analysis
Output: Display
and Reporting
Kilaini M Arnold
6
The GIS Data Model: Purpose
Kilaini M Arnold
7
Representing Data with Raster and Vector Models
Raster Model
• area is covered by grid with (usually) equal-sized, square cells
• attributes are recorded by assigning each cell a single value based on the majority feature
(attribute) in the cell, such as land use type.
• Image data is a special case of raster data in which the “attribute” is a reflectance value from
the geomagnetic spectrum
– cells in image data often called pixels (picture elements)
• Vector Model
The fundamental concept of vector GIS is that all geographic features in the real work can be
represented either as:
• points or dots (nodes): trees, poles, fire plugs, airports, cities
• lines (arcs): streams, streets, sewers,
• areas (polygons): land parcels, cities, counties, forest, rock type
Because representation depends on shape, ArcView refers to files containing vector data as
shapefiles
Kilaini M Arnold
8
Projection, Scale, Accuracy and Resolution
the key properties of spatial data
• Projection: the method by which the curved 3-D surface of the earth is represented by X,Y
coordinates on a 2-D flat map/screen
– distortion is inevitable
• Scale: the ratio of distance on a map to the equivalent distance on the ground
– in theory GIS is scale independent but in practice there is an implicit range of scales
for data output in any project
• Accuracy: how well does the database info match the real world
– Positional: how close are features to their real world location?
– Consistency: do feature characteristics in database match those in real world
• is a road in the database a road in the real world?
– Completeness: are all real world instances of features present in the database?
• Are all roads included.
Kilaini M Arnold
9
• Resolution: the size of the smallest feature able to be recognized
– for raster data, it is the pixel size
Kilaini M Arnold
10
INTRODUCTION TO QGIS
A Free and Open Source Geographic Information
System
Quantum GIS (QGIS)- Is a free and open-source desktop geographic information system (GIS)
application that provides data viewing, editing, and analysis. Similar to other software GIS systems,
QGIS allows users to create maps with many layers using different map projections. Maps can be
assembled in different formats and for different uses.[1] QGIS allows maps to be composed
of raster or vector layers. Typical for this kind of software, the vector data is stored as either point,
line, or polygon-feature. Different kinds of raster images are supported, and the software
can georeference images.
Adding Vector Layer/Ctrl+Shif+V
Kilaini M Arnold
11
Kilaini M Arnold
12
Opening Properties of the Vector Layer
Double click the Vector layer or Right Click the layer
Adding Raster Layer/ Ctrl+Shif+V
OR
Kilaini M Arnold
13
Kilaini M Arnold
14
Write down -WGS 84/Pseudo Mercator-EPSG: 3857
Importing GPX file in QGIS and Cleaning
a) In QGIS ''Layers'-> 'Add Vector Layer'
Kilaini M Arnold
15
b) Chose file type as 'GPX'
c) Navigate to Directory to get the GPX file
d) Open it and select 'Track'.
Kilaini M Arnold
16
e) The QGIS will show these as layers.
f) Immediately export (In Menu with right click on layer) 'Save As' the track to
'Shapefile format' with recognizable name and location in the local hard disk.
Kilaini M Arnold
17
g) Remove the 'GPX layers' from the QGIS as these are no longer needed h) Load the
saved shapefile.
i) Do 'Toggle Editing' for the track shapefile and use grips to move it and remove unwanted
sections.
j) Save the Editing
Editing in shapefiles in QGIS and Cleaning
In general, tools for editing vector layers are divided into two, digitizing and advanced digitizing.
Below are the icons fro editing
Kilaini M Arnold
18
Icon Purpose Icon Purpose
This is used to
show/represent
current or on ongoing
edits
This is used to allow
editing(toggle editing)
This is used to add
features: capture
Point
This is used to add features:
capture line
This is used to add
features: Capture
Polygon
This is used to move features
This is used to allow
editing of
nodes(Node Tool)
This is used to delete features
This is used to cut
features
This is used to with
participants copy features
This is used to paste
features
This is used to save layer
edits.
Other editing tools used are;
Icon Purpose Icon Purpose
The is used to undo
ongoing edits
The is used to redo ongoing
edits
This is used to Rotate
Feature(s)
This is used to simplify
features we were working on
This was explained
and used to add Ring
This was explained and used
to add parts
This was explained
and used to fill Ring
This was explained and used
to delete rings
This is used to delete
Parts
This was explained and used
to reshape features
This is used to offset
Curves
This is used to split features
Kilaini M Arnold
19
Icon Purpose Icon Purpose
This is used to split
Parts
Used to merge selected
features
This is used to merge
attributes of selected
features
This is used to rotate point
symbols
Toggle editing: This should be activated to allow editing of the Vector
Creating New Shapefile Layer with the Google map base map
Kilaini M Arnold
20
Kilaini M Arnold
21
Kilaini M Arnold
22
Kilaini M Arnold
23
Kilaini M Arnold
24
Kilaini M Arnold
25
Merging Shapefiles to Single file
The layers to be merged should be in the same folder, then the layers should be selected in the
layers panel as shown in the figure below:
Then Merging is obtained on Vector>>>>Data management tools>>>Merge shapefiles to one
Input directory-The directory which contains the shapefiles to be merged.
Output Shapefile-The New merged shapefiles location that means where do you want the new
merged shapefiles to be saved
Kilaini M Arnold
26
Kilaini M Arnold
27
Filtering and Separation from Main District roads.
1. After the loading of the Tanzanian Wards in to QGIS with the respective regions ( for
instance Dodoma) then,
Kilaini M Arnold
28
2. Filter the attributes by right-clicking the TZ_Wards by clicking it the screen will
show the following and then, filter by clicking the Region name and clicking all, in
the right hand side for selecting region ‘Dodoma’ ” Region name” =‘Dodoma’
Kilaini M Arnold
29
3. It will appear like the below diagram ,So you can filter as below, depending on what
you want, if you want to filter the District(for instance Bahi DC)from the beginning,
you will have to go for this command: ” Region name” =‘Dodoma’, then” District
name”=’Bahi’
4. The wards in Bahi will show up but the wards will be acting independently so
Kilaini M Arnold
30
5. Merge the features( in QGIS 2.6) Vector>Data Management Vector>Merge Shape
files to one, thereafter SAVE AS (Don’t forget to save the entities in the same file
during merging) so that you Cannot Duplicate your Tanzanian Wards by merging the
whole Bahi Dc become as one like below;
Kilaini M Arnold
31
6. For boundary separation, you will have to go for spatial query,
which is (in QGIS 2.6) Vector>Spatial Query>Spatial Query,
THEN
7. Then you Spatial query to the referencing of the Dodoma roads with
respect to the where it intersects so that you can split the roads with
respect to the district boundary
Kilaini M Arnold
32
8. Then the Shape file is ready for splitting so that you can separate the
roads with respect to the Bahi DC,As shown in the figure below by
(Toggle Editing, Split Features-snapping options for better accuracy)
By Arnold Kilaini
Kilaini M Arnold
33

More Related Content

What's hot

What's hot (20)

QGIS Training.pptx
QGIS Training.pptxQGIS Training.pptx
QGIS Training.pptx
 
Types of GIS Data
Types of GIS DataTypes of GIS Data
Types of GIS Data
 
Introduction to GIS
Introduction to GISIntroduction to GIS
Introduction to GIS
 
Arc gis introduction-ppt
Arc gis introduction-pptArc gis introduction-ppt
Arc gis introduction-ppt
 
Terminology and Basic Questions About GIS
Terminology and Basic Questions About GISTerminology and Basic Questions About GIS
Terminology and Basic Questions About GIS
 
Introduction to GIS
Introduction to GISIntroduction to GIS
Introduction to GIS
 
Introduction to GIS
Introduction to GISIntroduction to GIS
Introduction to GIS
 
Introduction to GIS
Introduction to GISIntroduction to GIS
Introduction to GIS
 
Gis Geographical Information System Fundamentals
Gis Geographical Information System FundamentalsGis Geographical Information System Fundamentals
Gis Geographical Information System Fundamentals
 
Gis functions
Gis functionsGis functions
Gis functions
 
Fundamentals of GIS
Fundamentals of GISFundamentals of GIS
Fundamentals of GIS
 
GIS - Topology
GIS - Topology GIS - Topology
GIS - Topology
 
QGIS Module 3
QGIS Module 3QGIS Module 3
QGIS Module 3
 
QGIS Tutorial 2
QGIS Tutorial 2QGIS Tutorial 2
QGIS Tutorial 2
 
Coordinate systems
Coordinate systemsCoordinate systems
Coordinate systems
 
Geodatabases
GeodatabasesGeodatabases
Geodatabases
 
Geographic information system
Geographic information systemGeographic information system
Geographic information system
 
Gis powerpoint
Gis powerpointGis powerpoint
Gis powerpoint
 
QGIS training class 1
QGIS training class 1QGIS training class 1
QGIS training class 1
 
Seminar on gis analysis functions
Seminar on gis analysis functionsSeminar on gis analysis functions
Seminar on gis analysis functions
 

Similar to GIS and QGIS training notes

GIS for geophysics.pptx
GIS for geophysics.pptxGIS for geophysics.pptx
GIS for geophysics.pptxThomasHundasa1
 
INTRODUCTION TO GIS
INTRODUCTION TO GISINTRODUCTION TO GIS
INTRODUCTION TO GISHamzaAhmad91
 
How to empower community by using GIS lecture 1
How to empower community by using GIS lecture 1How to empower community by using GIS lecture 1
How to empower community by using GIS lecture 1wang yaohui
 
What is Geography Information Systems (GIS)
What is Geography Information Systems (GIS)What is Geography Information Systems (GIS)
What is Geography Information Systems (GIS)John Lanser
 
Fundamentals_of_GIS_Estoque.pdf
Fundamentals_of_GIS_Estoque.pdfFundamentals_of_GIS_Estoque.pdf
Fundamentals_of_GIS_Estoque.pdfmichael152973
 
Introduction to Geographic Information System.pptx
Introduction to Geographic Information System.pptxIntroduction to Geographic Information System.pptx
Introduction to Geographic Information System.pptxElijahEmmanuel6
 
Geographical information system
Geographical information systemGeographical information system
Geographical information systemBipin Karki
 
Geographical information system
Geographical information systemGeographical information system
Geographical information systemBipin Karki
 

Similar to GIS and QGIS training notes (20)

GIS Presentation.pptx
GIS Presentation.pptxGIS Presentation.pptx
GIS Presentation.pptx
 
GIS
GISGIS
GIS
 
gis
gisgis
gis
 
GIS for geophysics.pptx
GIS for geophysics.pptxGIS for geophysics.pptx
GIS for geophysics.pptx
 
Q GIS Training Presentation
Q GIS Training PresentationQ GIS Training Presentation
Q GIS Training Presentation
 
INTRODUCTION TO GIS
INTRODUCTION TO GISINTRODUCTION TO GIS
INTRODUCTION TO GIS
 
GIS PPT
GIS PPTGIS PPT
GIS PPT
 
introduction to GIS
introduction to GIS introduction to GIS
introduction to GIS
 
Gis
GisGis
Gis
 
How to empower community by using GIS lecture 1
How to empower community by using GIS lecture 1How to empower community by using GIS lecture 1
How to empower community by using GIS lecture 1
 
What is Geography Information Systems (GIS)
What is Geography Information Systems (GIS)What is Geography Information Systems (GIS)
What is Geography Information Systems (GIS)
 
gis.pdf
gis.pdfgis.pdf
gis.pdf
 
Fundamentals_of_GIS_Estoque.pdf
Fundamentals_of_GIS_Estoque.pdfFundamentals_of_GIS_Estoque.pdf
Fundamentals_of_GIS_Estoque.pdf
 
Introduction to Geographic Information System.pptx
Introduction to Geographic Information System.pptxIntroduction to Geographic Information System.pptx
Introduction to Geographic Information System.pptx
 
Mrp Intrim
Mrp IntrimMrp Intrim
Mrp Intrim
 
Gis
GisGis
Gis
 
Geographical information system
Geographical information systemGeographical information system
Geographical information system
 
Geographical information system
Geographical information systemGeographical information system
Geographical information system
 
gis.pdf
gis.pdfgis.pdf
gis.pdf
 
gis.pdf
gis.pdfgis.pdf
gis.pdf
 

Recently uploaded

signals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsignals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsapna80328
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfChristianCDAM
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsResearcher Researcher
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
OOP concepts -in-Python programming language
OOP concepts -in-Python programming languageOOP concepts -in-Python programming language
OOP concepts -in-Python programming languageSmritiSharma901052
 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHSneha Padhiar
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptxmohitesoham12
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfalene1
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewsandhya757531
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptJohnWilliam111370
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.elesangwon
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfBalamuruganV28
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Romil Mishra
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfisabel213075
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Communityprachaibot
 

Recently uploaded (20)

signals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsignals in triangulation .. ...Surveying
signals in triangulation .. ...Surveying
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdf
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending Actuators
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
OOP concepts -in-Python programming language
OOP concepts -in-Python programming languageOOP concepts -in-Python programming language
OOP concepts -in-Python programming language
 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptx
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overview
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdf
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdf
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Community
 

GIS and QGIS training notes

  • 1. Kilaini M Arnold 1 Prepared by Arnold Kilaini Contents Introduction to (GIS) Geographic Information Systems (GIS) .............................................................................2 INTRODUCTION TO QGIS.............................................................................................................................. 10 A Free and Open Source Geographic Information System...................................................... 10 Adding Vector Layer/Ctrl+Shif+V.................................................................................................................. 10 Adding Raster Layer/ Ctrl+Shif+V ................................................................................................................. 12 Importing GPX file in QGIS and Cleaning ...................................................................................................... 14 Editing in shapefiles in QGIS and Cleaning ................................................................................................... 17 Creating New Shapefile Layer with the Google map base map ................................................................... 19 Merging Shapefiles to Single file .................................................................................................................. 25 Filtering and Separation from Main District roads........................................................................................ 27
  • 2. Kilaini M Arnold 2 Introduction to (GIS) Geographic Information Systems (GIS) Source: John Snow Inc. www.jsi.com In the 1850s, cholera was very poorly understood and massive outbreaks were a common occurrence in major industrial cities. An outbreak in London in 1854 in the Soho district was typical of the time, and the deaths it caused are shown in the map below. Dr John Snow is known as the ‘father of modern epidemiology’ and the ‘father of GIS’ because of the famous case of the 1854 Cholera outbreak in London’s Broad Street region.
  • 3. Kilaini M Arnold 3 Source: UCLA http://www.ph.ucla.edu/epi/snow/snowmap1_1854_lge.htm The map was made by Dr John Snow, who has conceived the hypothesis that cholera was transmitted through the drinking of polluted water, rather than through the air, as was commonly believed. He noticed that the outbreak appeared to be centred on a public drinking water pump in Broad Street – and if this hypothesis was correct, the pattern shown on the map would reflect the locations of people who drank the pump’s water. There were anomalies, in the sense that deaths had occurred in households that were located closer to other sources of water, but he was able to confirm that these households also drew their water from the Broad Street pump. Snow had the handle of the pump removed, and the outbreak subsided, providing direct causal evidence in favour of his hypothesis. Types of GIS There are a number of Geographical Information Systems (GIS) (or GIS software) available today. They range from high-powered analytical software to visual web applications, and each of those are used for a different purpose. Due to the vast number of GIS available it is simply not possible to provide training for each in this course. However, there are common feature in all GIS. Understanding these basic features will give you confidence with any GIS system that you use in the future.
  • 4. Kilaini M Arnold 4 This following are three groups of GIS: • Web-based GIS: ONS and London Profiler • Geobrowser: Google Earth • Desktop GIS:Quantum GIS(QGIS), ArcGIS,QGIS etc Defining Geographic Information Systems (GIS) • The common ground between information processing and the many fields using spatial analysis techniques. (Tomlinson, 1972)-Father of GIS • A powerful set of tools for collecting, storing, retrieving, transforming, and displaying spatial data from the real world. (Burroughs, 1986) • A computerised database management system for the capture, storage, retrieval, analysis and display of spatial (locationally defined) data. (NCGIA, 1987) • A decision support system involving the integration of spatially referenced data in a problem solving environment. (Cowen, 1988) Examples of Applied GIS • Urban Planning, Management & Policy – Zoning, subdivision planning – Land acquisition – Economic development – Code enforcement – Housing renovation programs – Emergency response – Crime analysis – Tax assessment • Civil Engineering/Utility – Locating underground facilities – Designing alignment for freeways, transit – Coordination of infrastructure maintenance • Environmental Sciences • Real Estate
  • 5. Kilaini M Arnold 5 – Monitoring environmental risk – Modeling stormwater runoff – Management of watersheds, floodplains, wetlands, forests, aquifers – Environmental Impact Analysis – Hazardous or toxic facility siting – Groundwater modeling and contamination tracking – Neighborhood land prices – Traffic Impact Analysis – Determination of Highest and Best Use • Political Science – Redistricting – Analysis of election results – Predictive modeling • Health Care – Epidemiology – Needs Analysis – Service Inventory GIS System Architecture and Components Data Input Query Input Geographic Database Transformation and Analysis Output: Display and Reporting
  • 6. Kilaini M Arnold 6 The GIS Data Model: Purpose
  • 7. Kilaini M Arnold 7 Representing Data with Raster and Vector Models Raster Model • area is covered by grid with (usually) equal-sized, square cells • attributes are recorded by assigning each cell a single value based on the majority feature (attribute) in the cell, such as land use type. • Image data is a special case of raster data in which the “attribute” is a reflectance value from the geomagnetic spectrum – cells in image data often called pixels (picture elements) • Vector Model The fundamental concept of vector GIS is that all geographic features in the real work can be represented either as: • points or dots (nodes): trees, poles, fire plugs, airports, cities • lines (arcs): streams, streets, sewers, • areas (polygons): land parcels, cities, counties, forest, rock type Because representation depends on shape, ArcView refers to files containing vector data as shapefiles
  • 8. Kilaini M Arnold 8 Projection, Scale, Accuracy and Resolution the key properties of spatial data • Projection: the method by which the curved 3-D surface of the earth is represented by X,Y coordinates on a 2-D flat map/screen – distortion is inevitable • Scale: the ratio of distance on a map to the equivalent distance on the ground – in theory GIS is scale independent but in practice there is an implicit range of scales for data output in any project • Accuracy: how well does the database info match the real world – Positional: how close are features to their real world location? – Consistency: do feature characteristics in database match those in real world • is a road in the database a road in the real world? – Completeness: are all real world instances of features present in the database? • Are all roads included.
  • 9. Kilaini M Arnold 9 • Resolution: the size of the smallest feature able to be recognized – for raster data, it is the pixel size
  • 10. Kilaini M Arnold 10 INTRODUCTION TO QGIS A Free and Open Source Geographic Information System Quantum GIS (QGIS)- Is a free and open-source desktop geographic information system (GIS) application that provides data viewing, editing, and analysis. Similar to other software GIS systems, QGIS allows users to create maps with many layers using different map projections. Maps can be assembled in different formats and for different uses.[1] QGIS allows maps to be composed of raster or vector layers. Typical for this kind of software, the vector data is stored as either point, line, or polygon-feature. Different kinds of raster images are supported, and the software can georeference images. Adding Vector Layer/Ctrl+Shif+V
  • 12. Kilaini M Arnold 12 Opening Properties of the Vector Layer Double click the Vector layer or Right Click the layer Adding Raster Layer/ Ctrl+Shif+V OR
  • 14. Kilaini M Arnold 14 Write down -WGS 84/Pseudo Mercator-EPSG: 3857 Importing GPX file in QGIS and Cleaning a) In QGIS ''Layers'-> 'Add Vector Layer'
  • 15. Kilaini M Arnold 15 b) Chose file type as 'GPX' c) Navigate to Directory to get the GPX file d) Open it and select 'Track'.
  • 16. Kilaini M Arnold 16 e) The QGIS will show these as layers. f) Immediately export (In Menu with right click on layer) 'Save As' the track to 'Shapefile format' with recognizable name and location in the local hard disk.
  • 17. Kilaini M Arnold 17 g) Remove the 'GPX layers' from the QGIS as these are no longer needed h) Load the saved shapefile. i) Do 'Toggle Editing' for the track shapefile and use grips to move it and remove unwanted sections. j) Save the Editing Editing in shapefiles in QGIS and Cleaning In general, tools for editing vector layers are divided into two, digitizing and advanced digitizing. Below are the icons fro editing
  • 18. Kilaini M Arnold 18 Icon Purpose Icon Purpose This is used to show/represent current or on ongoing edits This is used to allow editing(toggle editing) This is used to add features: capture Point This is used to add features: capture line This is used to add features: Capture Polygon This is used to move features This is used to allow editing of nodes(Node Tool) This is used to delete features This is used to cut features This is used to with participants copy features This is used to paste features This is used to save layer edits. Other editing tools used are; Icon Purpose Icon Purpose The is used to undo ongoing edits The is used to redo ongoing edits This is used to Rotate Feature(s) This is used to simplify features we were working on This was explained and used to add Ring This was explained and used to add parts This was explained and used to fill Ring This was explained and used to delete rings This is used to delete Parts This was explained and used to reshape features This is used to offset Curves This is used to split features
  • 19. Kilaini M Arnold 19 Icon Purpose Icon Purpose This is used to split Parts Used to merge selected features This is used to merge attributes of selected features This is used to rotate point symbols Toggle editing: This should be activated to allow editing of the Vector Creating New Shapefile Layer with the Google map base map
  • 25. Kilaini M Arnold 25 Merging Shapefiles to Single file The layers to be merged should be in the same folder, then the layers should be selected in the layers panel as shown in the figure below: Then Merging is obtained on Vector>>>>Data management tools>>>Merge shapefiles to one Input directory-The directory which contains the shapefiles to be merged. Output Shapefile-The New merged shapefiles location that means where do you want the new merged shapefiles to be saved
  • 27. Kilaini M Arnold 27 Filtering and Separation from Main District roads. 1. After the loading of the Tanzanian Wards in to QGIS with the respective regions ( for instance Dodoma) then,
  • 28. Kilaini M Arnold 28 2. Filter the attributes by right-clicking the TZ_Wards by clicking it the screen will show the following and then, filter by clicking the Region name and clicking all, in the right hand side for selecting region ‘Dodoma’ ” Region name” =‘Dodoma’
  • 29. Kilaini M Arnold 29 3. It will appear like the below diagram ,So you can filter as below, depending on what you want, if you want to filter the District(for instance Bahi DC)from the beginning, you will have to go for this command: ” Region name” =‘Dodoma’, then” District name”=’Bahi’ 4. The wards in Bahi will show up but the wards will be acting independently so
  • 30. Kilaini M Arnold 30 5. Merge the features( in QGIS 2.6) Vector>Data Management Vector>Merge Shape files to one, thereafter SAVE AS (Don’t forget to save the entities in the same file during merging) so that you Cannot Duplicate your Tanzanian Wards by merging the whole Bahi Dc become as one like below;
  • 31. Kilaini M Arnold 31 6. For boundary separation, you will have to go for spatial query, which is (in QGIS 2.6) Vector>Spatial Query>Spatial Query, THEN 7. Then you Spatial query to the referencing of the Dodoma roads with respect to the where it intersects so that you can split the roads with respect to the district boundary
  • 32. Kilaini M Arnold 32 8. Then the Shape file is ready for splitting so that you can separate the roads with respect to the Bahi DC,As shown in the figure below by (Toggle Editing, Split Features-snapping options for better accuracy) By Arnold Kilaini