Professional Documents
Culture Documents
Purpose: To learn how to create a new GIS dataset and joining tables.
Open QGIS.
In Menu Bar, click Project > Project Properties. Set the parameters as shown.
Click OK.
Add PHL_adm2.shp
.
Page2of 12
Calculate a new field and name it Area_HA (in hectares) using a QGIS function.
Click OK.
Page3of 12
Save edits.
Click Toggle edit' tool.
Select by expression.
Click Select.
Save as
CebuMunis.shp
. Save in C:\...\OUTPUT\VECTORS\
Click OK.
Click OK.
Save in C:\.....\OUTPUT\PROJECTS
Page6of 12
Joining Tables
Go tohttp://nap.psa.gov.ph/activestats/psgc/default.asp
and copy-and-paste the population data
for Cebu towns.
Save as
CebuTowns.csv
in C:\.....\Desktop\USC_GIS\MYDATA\TABLES
The following spreadsheet functions are useful in editing the table to make it ready for integration
with QGIS:
MID
Page7of 12
Click OK.
First, make the following changes in attribute names to synchronize joining process:
Click the Plus sign to open the Add vector join' window
Click OK.
Save as
CebuMunis
asCebuMunis_Join
in C:\.....\Desktop\USC_GIS\OUTPUT\VECTORS
Compare the areas of towns as calculated by QGIS (Area_HA) and those from PSGC. What can you
conclude? And why?
AddPHL_adm1.
Apply random colors to Cebu towns and transparency to provinces similar to the one shown below.
Page11of 12
Save Project.
Exit QGIS.
End of Exercise.
Page12of 12