SlideShare una empresa de Scribd logo
1 de 47
Descargar para leer sin conexión
SessionTwo:
•Attribute Tables and
•JOIN: how to add data to QGIS
Why are attribute tables
important?
Attribute tables define the elements of a
shapefile and allow you to see what is
“inside” the layer. They also allow you to
zoom, highlight and select for other
operations.
“Flat File” with columns and rows
Row = geographic feature record
Column = attribute field (item of
information about a feature)
Attribute field general types
• Numeric (integer or decimals)
• Text (string)
• Date
• Blob (binary large object)
Source: http://www.esi.utexas.edu/gk12/workshops/gis/ppts.php
Each different layer has
its own attribute table
so when we open a
new one here…
ATTRIBUTE
TABLE CAN
BE USED TO
ZOOM INTO
A SELECTED
FEATURE –
IN THIS
CASE A
DISTRICT;
HIGHLIGHT
THE ENTIRE
ROW TO
SELECT IT
THE SELECTED
FEATURE IS LARGE AND
HIGHLIGHTED IN
YELLOW
YOU CAN USE THE
ZOOM FEATURES ON
THE TOOLBAR TO
ZOOMOUT TO SEE THE
SELECTION IN
CONTEXT OF THE
COUNTRY
De-select on toolbar to end
the highlighted area
JOIN
• Basic to all GIS programs is “joining”
• This is how tables of data (excel, csv,
etc) are transformed into maps
• For example, HIV prevalence by
province
Change data form
Must change the data format from EXCEL
or other database into a form that QGIS
can use
• The easiest process is using .dbf
• .dbf is an “old” data file type (dbase)
BUT shapefiles contain .dbf file data
which is why we use them
• To convert we need LibreOffice
LIBRE OFFICE
• Open Libre office and open your excel
data (name of excel file or type of data)
In Libre Office choose spreadsheet
View the data you want to add..
Save as “name”.dbf inside data
folder
Open or maximize QGIS
• You will now add your .dbf file that you
created in Libre Office to the map layers
you are already displaying
• Click on “add vector layer”
1.
2.
3.
Open “attribute layer” for
moz_adm1
• Find the column that has the name of
the provinces in it.
JOIN in QGIS
• Double click on moz_adm1
• When layer opens click on “join” tab
11.You will see this. Note
default target field ID_0
2. You MUST change target
field!
You need to match “like” with “like” so if you have province
data, in this case provincia, you must match with QGIS’s
province layer, in this case NAME_1.
Return to Map Layers and
double click on moz_adm1
Check to see that the
two layers have been
added by hitting the
tab called fields.can
you see them?
DOUBLE CLICK
ON MOZ-ADM1
CLICK ON
GENERAL, NOW
CHANGE THE
TITLE TO RESAVE
THE LAYER
UNDER A NAME
WHICH REFLECTS
YOUR DATA
RENAME
THE FILE
CLICK OK
“Joining”: putting table data
inside the map layer
Now make
sure to
change the
column so it
is set to the
file with
prevalence
that you
wish to
map. You
DO NOT
want
Column set
to ID_0
which is the
default. It
will crash
your
computer.
How to change the
classification
Double click on a row to
begin. Be sure to select
“label” afterward to ensure
that your changes are
reflected in your labels. This
is also an opportunity to
simplify the label
presentation.
Prevalence map with province
names
OK! Now try this with your
own data….
If you don’t have data make
up data to practice
Adding two variables to one
map layer
How to map a second
presentation of prevalence
onto one map: using symbols
• This step shows you how to map a
second level of prevalence, HIV
prevalence in men (MHIVPREV) onto a
map where the colors of provinces
represent the HIV prevalence of women
Here is the final map
with the male and
female HIV prevalence
Male HIV
prevalence is
represented as
the pink dots and
female HIV
prevalence is
represented
within the blue
shaded province
layers.
Now go back to the diagram
layer, where you see pie chart
and choose text diagram.
What do you think?
End session 2
Thank you!

Más contenido relacionado

La actualidad más candente

Introduction to arc gis
Introduction to arc gisIntroduction to arc gis
Introduction to arc gisMohamed Hamed
 
Raster data analysis
Raster data analysisRaster data analysis
Raster data analysisAbdul Raziq
 
Terminology and Basic Questions About GIS
Terminology and Basic Questions About GISTerminology and Basic Questions About GIS
Terminology and Basic Questions About GISMrinmoy Majumder
 
DATA in GIS and DATA Query
DATA in GIS and DATA QueryDATA in GIS and DATA Query
DATA in GIS and DATA QueryKU Leuven
 
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
 
GEOPROCESSING IN QGIS
GEOPROCESSING IN QGISGEOPROCESSING IN QGIS
GEOPROCESSING IN QGISSwetha A
 
ArcGIS Pro Lesson 1
ArcGIS Pro Lesson 1ArcGIS Pro Lesson 1
ArcGIS Pro Lesson 1Joseph Farah
 
5 spatial data editing
5 spatial data editing5 spatial data editing
5 spatial data editinganita bodke
 
Chap1 introduction to geographic information system (gis)
Chap1 introduction to geographic information system (gis)Chap1 introduction to geographic information system (gis)
Chap1 introduction to geographic information system (gis)Mweemba Hachita
 
QGIS Training.pptx
QGIS Training.pptxQGIS Training.pptx
QGIS Training.pptxSeemaAjay7
 
Raster data model
Raster data modelRaster data model
Raster data modelPramoda Raj
 
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 ...Kamlesh Kumar
 

La actualidad más candente (20)

Introduction to arc gis
Introduction to arc gisIntroduction to arc gis
Introduction to arc gis
 
QGIS Tutorial 2
QGIS Tutorial 2QGIS Tutorial 2
QGIS Tutorial 2
 
Raster data and Vector data
Raster data and Vector dataRaster data and Vector data
Raster data and Vector data
 
Raster data analysis
Raster data analysisRaster data analysis
Raster data analysis
 
Terminology and Basic Questions About GIS
Terminology and Basic Questions About GISTerminology and Basic Questions About GIS
Terminology and Basic Questions About GIS
 
DATA in GIS and DATA Query
DATA in GIS and DATA QueryDATA in GIS and DATA Query
DATA in GIS and DATA Query
 
What is Geography Information Systems (GIS)
What is Geography Information Systems (GIS)What is Geography Information Systems (GIS)
What is Geography Information Systems (GIS)
 
GEOPROCESSING IN QGIS
GEOPROCESSING IN QGISGEOPROCESSING IN QGIS
GEOPROCESSING IN QGIS
 
GIS - lecture-1.ppt
GIS - lecture-1.pptGIS - lecture-1.ppt
GIS - lecture-1.ppt
 
ArcGIS Pro Lesson 1
ArcGIS Pro Lesson 1ArcGIS Pro Lesson 1
ArcGIS Pro Lesson 1
 
GIS Geographical Information System
GIS Geographical Information SystemGIS Geographical Information System
GIS Geographical Information System
 
QGIS training class 3
QGIS training class 3QGIS training class 3
QGIS training class 3
 
5 spatial data editing
5 spatial data editing5 spatial data editing
5 spatial data editing
 
Geodatabases
GeodatabasesGeodatabases
Geodatabases
 
Introduction to GIS
Introduction to GISIntroduction to GIS
Introduction to GIS
 
Chap1 introduction to geographic information system (gis)
Chap1 introduction to geographic information system (gis)Chap1 introduction to geographic information system (gis)
Chap1 introduction to geographic information system (gis)
 
QGIS Training.pptx
QGIS Training.pptxQGIS Training.pptx
QGIS Training.pptx
 
Geo-spatial Analysis and Modelling
Geo-spatial Analysis and ModellingGeo-spatial Analysis and Modelling
Geo-spatial Analysis and Modelling
 
Raster data model
Raster data modelRaster data model
Raster data model
 
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 ...
 

Destacado

OSM and QGIS
OSM and QGISOSM and QGIS
OSM and QGISQGIS UK
 
QGIS Open Source Desktop GIS
QGIS Open Source Desktop GISQGIS Open Source Desktop GIS
QGIS Open Source Desktop GISGIS Colorado
 
The shine study
The shine studyThe shine study
The shine studyCAPSUCSF
 
Urban health study ii
Urban health study iiUrban health study ii
Urban health study iiCAPSUCSF
 
QGIS Workshop Introduction - CalGIS 2015
QGIS Workshop Introduction - CalGIS 2015QGIS Workshop Introduction - CalGIS 2015
QGIS Workshop Introduction - CalGIS 2015Michele Tobias
 
QGIS - How does it work?
QGIS - How does it work?QGIS - How does it work?
QGIS - How does it work?Nathan Woodrow
 
Opening slides - South-East UK QGIS user group meeting
Opening slides - South-East UK QGIS user group meetingOpening slides - South-East UK QGIS user group meeting
Opening slides - South-East UK QGIS user group meetingQGIS UK
 
Glacier and snow
Glacier and snowGlacier and snow
Glacier and snowSwetha A
 
Spatial Analysis Tools with Open Source GIS
Spatial Analysis Tools with Open Source GISSpatial Analysis Tools with Open Source GIS
Spatial Analysis Tools with Open Source GISChingchai Humhong
 
MISSION TO PLANETS (CHANDRAYAAN,MAVEN,CURIOSITY,MANGALYAAN,CASSINI SOLSTICE M...
MISSION TO PLANETS (CHANDRAYAAN,MAVEN,CURIOSITY,MANGALYAAN,CASSINI SOLSTICE M...MISSION TO PLANETS (CHANDRAYAAN,MAVEN,CURIOSITY,MANGALYAAN,CASSINI SOLSTICE M...
MISSION TO PLANETS (CHANDRAYAAN,MAVEN,CURIOSITY,MANGALYAAN,CASSINI SOLSTICE M...Swetha A
 
The GRASS GIS software (with QGIS) - GIS Seminar
The GRASS GIS software (with QGIS) - GIS SeminarThe GRASS GIS software (with QGIS) - GIS Seminar
The GRASS GIS software (with QGIS) - GIS SeminarMarkus Neteler
 
Remote Sensing And GIS Application In Wetland Mapping
Remote Sensing And GIS Application In Wetland MappingRemote Sensing And GIS Application In Wetland Mapping
Remote Sensing And GIS Application In Wetland MappingSwetha A
 
Remote Sensing And GIS Application In Mineral , Oil , Ground Water MappingMin...
Remote Sensing And GIS Application In Mineral , Oil , Ground Water MappingMin...Remote Sensing And GIS Application In Mineral , Oil , Ground Water MappingMin...
Remote Sensing And GIS Application In Mineral , Oil , Ground Water MappingMin...Swetha A
 
IT for Business Intelligence Term Paper
IT for Business Intelligence Term PaperIT for Business Intelligence Term Paper
IT for Business Intelligence Term Paperniloyghosh1984
 
Geographic information system
Geographic information systemGeographic information system
Geographic information systemSumanta Das
 
Gis (geographic information system)
Gis (geographic information system)Gis (geographic information system)
Gis (geographic information system)Saad Bare
 

Destacado (19)

QGIS training class 2
QGIS training class 2QGIS training class 2
QGIS training class 2
 
OSM and QGIS
OSM and QGISOSM and QGIS
OSM and QGIS
 
QGIS Open Source Desktop GIS
QGIS Open Source Desktop GISQGIS Open Source Desktop GIS
QGIS Open Source Desktop GIS
 
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
 
QGIS Workshop Introduction - CalGIS 2015
QGIS Workshop Introduction - CalGIS 2015QGIS Workshop Introduction - CalGIS 2015
QGIS Workshop Introduction - CalGIS 2015
 
QGIS - How does it work?
QGIS - How does it work?QGIS - How does it work?
QGIS - How does it work?
 
Opening slides - South-East UK QGIS user group meeting
Opening slides - South-East UK QGIS user group meetingOpening slides - South-East UK QGIS user group meeting
Opening slides - South-East UK QGIS user group meeting
 
Glacier and snow
Glacier and snowGlacier and snow
Glacier and snow
 
Spatial Analysis Tools with Open Source GIS
Spatial Analysis Tools with Open Source GISSpatial Analysis Tools with Open Source GIS
Spatial Analysis Tools with Open Source GIS
 
MISSION TO PLANETS (CHANDRAYAAN,MAVEN,CURIOSITY,MANGALYAAN,CASSINI SOLSTICE M...
MISSION TO PLANETS (CHANDRAYAAN,MAVEN,CURIOSITY,MANGALYAAN,CASSINI SOLSTICE M...MISSION TO PLANETS (CHANDRAYAAN,MAVEN,CURIOSITY,MANGALYAAN,CASSINI SOLSTICE M...
MISSION TO PLANETS (CHANDRAYAAN,MAVEN,CURIOSITY,MANGALYAAN,CASSINI SOLSTICE M...
 
The GRASS GIS software (with QGIS) - GIS Seminar
The GRASS GIS software (with QGIS) - GIS SeminarThe GRASS GIS software (with QGIS) - GIS Seminar
The GRASS GIS software (with QGIS) - GIS Seminar
 
What is GIS?
What is GIS?What is GIS?
What is GIS?
 
Remote Sensing And GIS Application In Wetland Mapping
Remote Sensing And GIS Application In Wetland MappingRemote Sensing And GIS Application In Wetland Mapping
Remote Sensing And GIS Application In Wetland Mapping
 
Remote Sensing And GIS Application In Mineral , Oil , Ground Water MappingMin...
Remote Sensing And GIS Application In Mineral , Oil , Ground Water MappingMin...Remote Sensing And GIS Application In Mineral , Oil , Ground Water MappingMin...
Remote Sensing And GIS Application In Mineral , Oil , Ground Water MappingMin...
 
IT for Business Intelligence Term Paper
IT for Business Intelligence Term PaperIT for Business Intelligence Term Paper
IT for Business Intelligence Term Paper
 
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)
 
What Is GIS?
What Is GIS?What Is GIS?
What Is GIS?
 

Similar a QGIS Module 2

Ms Access ppt
Ms Access pptMs Access ppt
Ms Access pptanuj
 
Operate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptxOperate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptxEsubalew21
 
Geohosting english manual
Geohosting english manualGeohosting english manual
Geohosting english manualSDIEDU
 
Module 08 Access & Use Database Application.pptx
Module 08 Access & Use Database Application.pptxModule 08 Access & Use Database Application.pptx
Module 08 Access & Use Database Application.pptxEsubalew21
 
Measure the right stuff with crystal reports bb con 2011
Measure the right stuff with crystal reports   bb con 2011Measure the right stuff with crystal reports   bb con 2011
Measure the right stuff with crystal reports bb con 2011Joe Meehan
 
Class viii ch-3 working with tables
Class  viii ch-3 working with tablesClass  viii ch-3 working with tables
Class viii ch-3 working with tablesjessandy
 
Excel 2003 tutorial 2
Excel 2003 tutorial 2Excel 2003 tutorial 2
Excel 2003 tutorial 2catacata1976
 
OPERATE DATABASE APPLICATION
OPERATE DATABASE APPLICATIONOPERATE DATABASE APPLICATION
OPERATE DATABASE APPLICATIONYoomiLaataBekele
 
Building Geodatabase 2014
Building Geodatabase 2014 Building Geodatabase 2014
Building Geodatabase 2014 Najed Hanahnah
 
annotation_tutorial_2008
annotation_tutorial_2008annotation_tutorial_2008
annotation_tutorial_2008tutorialsruby
 
annotation_tutorial_2008
annotation_tutorial_2008annotation_tutorial_2008
annotation_tutorial_2008tutorialsruby
 
Excel Graphs Charts
Excel Graphs ChartsExcel Graphs Charts
Excel Graphs Chartssimply_coool
 
Customizing Forms
Customizing FormsCustomizing Forms
Customizing FormsEMAINT
 
HARJOT.ppt
HARJOT.pptHARJOT.ppt
HARJOT.pptsatgup78
 

Similar a QGIS Module 2 (20)

02+ +step+by+step+qgis
02+ +step+by+step+qgis02+ +step+by+step+qgis
02+ +step+by+step+qgis
 
Ms Access ppt
Ms Access pptMs Access ppt
Ms Access ppt
 
Operate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptxOperate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptx
 
Geohosting english manual
Geohosting english manualGeohosting english manual
Geohosting english manual
 
Module 08 Access & Use Database Application.pptx
Module 08 Access & Use Database Application.pptxModule 08 Access & Use Database Application.pptx
Module 08 Access & Use Database Application.pptx
 
Measure the right stuff with crystal reports bb con 2011
Measure the right stuff with crystal reports   bb con 2011Measure the right stuff with crystal reports   bb con 2011
Measure the right stuff with crystal reports bb con 2011
 
Class viii ch-3 working with tables
Class  viii ch-3 working with tablesClass  viii ch-3 working with tables
Class viii ch-3 working with tables
 
Excel 2003 tutorial 2
Excel 2003 tutorial 2Excel 2003 tutorial 2
Excel 2003 tutorial 2
 
Arcgis training day_1
Arcgis training day_1Arcgis training day_1
Arcgis training day_1
 
Gd401 1 p autocad tables-doc
Gd401 1 p autocad tables-docGd401 1 p autocad tables-doc
Gd401 1 p autocad tables-doc
 
Priyank Goel PPT.pptx
Priyank Goel PPT.pptxPriyank Goel PPT.pptx
Priyank Goel PPT.pptx
 
OPERATE DATABASE APPLICATION
OPERATE DATABASE APPLICATIONOPERATE DATABASE APPLICATION
OPERATE DATABASE APPLICATION
 
Building Geodatabase 2014
Building Geodatabase 2014 Building Geodatabase 2014
Building Geodatabase 2014
 
annotation_tutorial_2008
annotation_tutorial_2008annotation_tutorial_2008
annotation_tutorial_2008
 
annotation_tutorial_2008
annotation_tutorial_2008annotation_tutorial_2008
annotation_tutorial_2008
 
Tableau.pdf
Tableau.pdfTableau.pdf
Tableau.pdf
 
Excel Graphs Charts
Excel Graphs ChartsExcel Graphs Charts
Excel Graphs Charts
 
MS Access 2010 tutorial 3
MS Access 2010 tutorial 3MS Access 2010 tutorial 3
MS Access 2010 tutorial 3
 
Customizing Forms
Customizing FormsCustomizing Forms
Customizing Forms
 
HARJOT.ppt
HARJOT.pptHARJOT.ppt
HARJOT.ppt
 

Más de CAPSUCSF

The ballroom community project
The ballroom community projectThe ballroom community project
The ballroom community projectCAPSUCSF
 
Relate project abstract
Relate project abstractRelate project abstract
Relate project abstractCAPSUCSF
 
Moving mountains
Moving mountainsMoving mountains
Moving mountainsCAPSUCSF
 
Implementing eban ii
Implementing eban iiImplementing eban ii
Implementing eban iiCAPSUCSF
 
Hiv testing feasibility and acceptability with low wage immigrant workers
Hiv testing feasibility and acceptability with low wage immigrant workersHiv testing feasibility and acceptability with low wage immigrant workers
Hiv testing feasibility and acceptability with low wage immigrant workersCAPSUCSF
 
Hiv disclosure abstract
Hiv disclosure abstractHiv disclosure abstract
Hiv disclosure abstractCAPSUCSF
 
Enhancing hiv testing and counseling for men recently released from jail or p...
Enhancing hiv testing and counseling for men recently released from jail or p...Enhancing hiv testing and counseling for men recently released from jail or p...
Enhancing hiv testing and counseling for men recently released from jail or p...CAPSUCSF
 
Documenting challenges for people living with hiv
Documenting challenges for people living with hivDocumenting challenges for people living with hiv
Documenting challenges for people living with hivCAPSUCSF
 
Connecting resources for urban sexual health
Connecting resources for urban sexual healthConnecting resources for urban sexual health
Connecting resources for urban sexual healthCAPSUCSF
 
A randomized controlled trial of the bruthas program
A randomized controlled trial of the bruthas programA randomized controlled trial of the bruthas program
A randomized controlled trial of the bruthas programCAPSUCSF
 
Community based participatory research to address late diagnosis of hiv among...
Community based participatory research to address late diagnosis of hiv among...Community based participatory research to address late diagnosis of hiv among...
Community based participatory research to address late diagnosis of hiv among...CAPSUCSF
 
The cultural and relationship context of hiv among bisexually active black me...
The cultural and relationship context of hiv among bisexually active black me...The cultural and relationship context of hiv among bisexually active black me...
The cultural and relationship context of hiv among bisexually active black me...CAPSUCSF
 

Más de CAPSUCSF (12)

The ballroom community project
The ballroom community projectThe ballroom community project
The ballroom community project
 
Relate project abstract
Relate project abstractRelate project abstract
Relate project abstract
 
Moving mountains
Moving mountainsMoving mountains
Moving mountains
 
Implementing eban ii
Implementing eban iiImplementing eban ii
Implementing eban ii
 
Hiv testing feasibility and acceptability with low wage immigrant workers
Hiv testing feasibility and acceptability with low wage immigrant workersHiv testing feasibility and acceptability with low wage immigrant workers
Hiv testing feasibility and acceptability with low wage immigrant workers
 
Hiv disclosure abstract
Hiv disclosure abstractHiv disclosure abstract
Hiv disclosure abstract
 
Enhancing hiv testing and counseling for men recently released from jail or p...
Enhancing hiv testing and counseling for men recently released from jail or p...Enhancing hiv testing and counseling for men recently released from jail or p...
Enhancing hiv testing and counseling for men recently released from jail or p...
 
Documenting challenges for people living with hiv
Documenting challenges for people living with hivDocumenting challenges for people living with hiv
Documenting challenges for people living with hiv
 
Connecting resources for urban sexual health
Connecting resources for urban sexual healthConnecting resources for urban sexual health
Connecting resources for urban sexual health
 
A randomized controlled trial of the bruthas program
A randomized controlled trial of the bruthas programA randomized controlled trial of the bruthas program
A randomized controlled trial of the bruthas program
 
Community based participatory research to address late diagnosis of hiv among...
Community based participatory research to address late diagnosis of hiv among...Community based participatory research to address late diagnosis of hiv among...
Community based participatory research to address late diagnosis of hiv among...
 
The cultural and relationship context of hiv among bisexually active black me...
The cultural and relationship context of hiv among bisexually active black me...The cultural and relationship context of hiv among bisexually active black me...
The cultural and relationship context of hiv among bisexually active black me...
 

Último

Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi OneDay18
 
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Mikko Kangassalo
 
integrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfintegrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfAmitRout25
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxShubham Rawat
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证kbdhl05e
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)oannq
 
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...JeylaisaManabat1
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan
 

Último (8)

Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi
 
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
 
integrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfintegrity in personal relationship (1).pdf
integrity in personal relationship (1).pdf
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptx
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)
 
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
 

QGIS Module 2

  • 2. Why are attribute tables important? Attribute tables define the elements of a shapefile and allow you to see what is “inside” the layer. They also allow you to zoom, highlight and select for other operations.
  • 3. “Flat File” with columns and rows Row = geographic feature record Column = attribute field (item of information about a feature)
  • 4. Attribute field general types • Numeric (integer or decimals) • Text (string) • Date • Blob (binary large object) Source: http://www.esi.utexas.edu/gk12/workshops/gis/ppts.php
  • 5. Each different layer has its own attribute table so when we open a new one here…
  • 6.
  • 7. ATTRIBUTE TABLE CAN BE USED TO ZOOM INTO A SELECTED FEATURE – IN THIS CASE A DISTRICT; HIGHLIGHT THE ENTIRE ROW TO SELECT IT
  • 8. THE SELECTED FEATURE IS LARGE AND HIGHLIGHTED IN YELLOW
  • 9. YOU CAN USE THE ZOOM FEATURES ON THE TOOLBAR TO ZOOMOUT TO SEE THE SELECTION IN CONTEXT OF THE COUNTRY
  • 10. De-select on toolbar to end the highlighted area
  • 11. JOIN • Basic to all GIS programs is “joining” • This is how tables of data (excel, csv, etc) are transformed into maps • For example, HIV prevalence by province
  • 12. Change data form Must change the data format from EXCEL or other database into a form that QGIS can use • The easiest process is using .dbf • .dbf is an “old” data file type (dbase) BUT shapefiles contain .dbf file data which is why we use them • To convert we need LibreOffice
  • 13. LIBRE OFFICE • Open Libre office and open your excel data (name of excel file or type of data)
  • 14. In Libre Office choose spreadsheet
  • 15. View the data you want to add.. Save as “name”.dbf inside data folder
  • 16. Open or maximize QGIS • You will now add your .dbf file that you created in Libre Office to the map layers you are already displaying • Click on “add vector layer”
  • 17.
  • 19. Open “attribute layer” for moz_adm1 • Find the column that has the name of the provinces in it.
  • 20.
  • 21.
  • 22. JOIN in QGIS • Double click on moz_adm1 • When layer opens click on “join” tab
  • 23.
  • 24. 11.You will see this. Note default target field ID_0 2. You MUST change target field! You need to match “like” with “like” so if you have province data, in this case provincia, you must match with QGIS’s province layer, in this case NAME_1.
  • 25. Return to Map Layers and double click on moz_adm1
  • 26. Check to see that the two layers have been added by hitting the tab called fields.can you see them?
  • 27. DOUBLE CLICK ON MOZ-ADM1 CLICK ON GENERAL, NOW CHANGE THE TITLE TO RESAVE THE LAYER UNDER A NAME WHICH REFLECTS YOUR DATA
  • 29.
  • 30.
  • 31. “Joining”: putting table data inside the map layer
  • 32.
  • 33.
  • 34. Now make sure to change the column so it is set to the file with prevalence that you wish to map. You DO NOT want Column set to ID_0 which is the default. It will crash your computer.
  • 35.
  • 36. How to change the classification Double click on a row to begin. Be sure to select “label” afterward to ensure that your changes are reflected in your labels. This is also an opportunity to simplify the label presentation.
  • 37.
  • 38.
  • 39.
  • 40. Prevalence map with province names
  • 41. OK! Now try this with your own data…. If you don’t have data make up data to practice
  • 42. Adding two variables to one map layer
  • 43. How to map a second presentation of prevalence onto one map: using symbols • This step shows you how to map a second level of prevalence, HIV prevalence in men (MHIVPREV) onto a map where the colors of provinces represent the HIV prevalence of women
  • 44.
  • 45. Here is the final map with the male and female HIV prevalence Male HIV prevalence is represented as the pink dots and female HIV prevalence is represented within the blue shaded province layers.
  • 46. Now go back to the diagram layer, where you see pie chart and choose text diagram. What do you think?