Exercises
Table of Contents
Exercise 1: Introduction to QGIS
Deadline
- Hand in your work on ilearn by January 15 12 p.m.
Objectives
- Installing QGIS on your personal computer
- Familiarizing yourself with the QGIS Interface
- Reading and Creating Data
- Managing Files and Projects
Instructions
Setup
- If you have not done so already, download and install QGIS, Version 3.4, on your laptop.
- Download the exercise data.
Analysis
Using QGIS, answer the following questions (posting your answers on ilearn)
- How many features are in this data set?
- How many fields are in this data set?
- What unit is area measured in this data set?
- How many acres does the largest feature have?
- What tract has the largest are in acres?
- What is the maximum population of a tract in this database?
- What county has the tract with the largest Hispanic population?
Creating a new layer
- Create a new layer that only includes the tracts from Riverside County
- Save your project
- Submit a screenshot that shows the layer panel and the canvas with the new Riverside layer on top of the original layer
Exercise 2: Working with Attributes
Deadline
- Hand in your work on ilearn by February 3, 12 p.m.
Objectives
- Learn how to complete table joins to add attributes
- Creation of new attributes using expressions
- Filtering attributes
- Virtual layers for query presentations
Instructions
Setup
- You will be using the same dataset from exercise 1.
- Create a new project called
exer02
Analysis
Joins and Attribute Creation
- Using a table join, attach a new attribute with the name
CountyNamethat uses theCOUNTYas the field to match on. - Create an attribute named
pctHISPthat reports the percentage of the tract’s total population that is Hispanic. - Create an attribute named
pctNHBLKthat reports the percentage of the tract’s total population that is non-Hispanic Black. - Create an attribute named
majHISPthat takes a value of 1 if thepctHISPis greater than 0.50. - Create an attribute named
majNHBLKthat takes a value of 1 if thepctNHBLKis greater than 0.50.
Layer creation
- Create a layer that contains the tracts where
majHISPtakes a value of 1. Name this layermajHISP - Create a layer that contains the tracts where
majNHBLKtakes a value of 1. Name this layermajNHBLK - Upload a screen shot that shows the map canvas with the two new layers on top of the original project layer.
- Comment on the spatial distribution displayed in the
majHISPandmajNHBLKlayers.
Virtual Layers
The next steps require building different virtual layers to generate table reports:
- Report the number of tracts by county.
- Report the number of majority Hispanic tracts by county
- Report the percentage of majority Hispanic tracts by county
- Report the percentage of the total county population that is Hispanic by county.
- Compare the previous percentage to the average of the Hispanic population by tract in each county.
- Comment on the last report. Why do the two views of percentage Hispanic differ?
Exercise 3: Choropleth Maps
Deadline
- Hand in your work on ilearn by February 26, 12 p.m.
Objectives
- Learn how to choose choropleth classification schemes for different attribute types
- Learn how to use the layout manager to create publication quality choropleth maps
- Use choropleth maps to compare demographic patterns across subregions of Southern California
Instructions
Readings
Read the chapter on Laying out the Map
You will be handing in a single pdf that combines maps and text supporting your analysis below. All maps must be produced using the Layout manager and exported to pdf prior to compiling your single document.
Setup
- You will be using the dataset you produced in exercise 2.
- Create a new project called
exer03
Analysis
Read through the entire set of tasks below before carrying out any analysis.
Data Creation
- Using the SCAG layer create (or recreate) the following attributes:
pctHISP= 100 XHISP/TOTPOPmajHISP= 1 ifpctHISP> 0.5, 0 otherwise
- Create two new layers: one that contains the tracts for the inland counties, and a second for the coastal Counties.
- Provide a step by step description of how you used QGIS to create these new layers.
Choropleth Maps
- For each of the two subregions (coastal, inland) create a choropleth map for the
pctHISPvariable. - For each of the two subregions (coastal, inland) create a choropleth map for the
majHISPvariable. - For the entire SCAG region, make a map for
pctHISP - Explain your design choices regarding:
- classification scheme and number of classes
- color scheme
Comparison of Coastal and Inland Distributions
Using your maps from the previous steps, compare the pctHISP distributions between the inland and the coastal subregions. Be sure to comment on both the statistical distributions as well as the spatial distributions, and explain how the design of your maps supports your analysis.
Exercise 4: Disparities in Exposure to Freeway Pollution
Deadline
- Hand in your work on ilearn by March 11 p.m.
Readings
Read the description of the LA Times Freeway Pollution Project
You will be handing in a single pdf that combines maps and text supporting your analysis below. All maps must be produced using the Layout manager and exported to pdf prior to compiling your single document.
Setup
- You will be using the dataset you produced in exercise 2 along with the highway dataset from Lecture 11.
- Create a new project called
exer04
Analysis
Read through the entire set of tasks below before carrying out any analysis.
In all the analysis that follows, provide screenshots and a description of your workflow with enough detail that a colleague (or your instructor) could replicate your results.
Buffering Part I
- Construct a 500 foot buffer around the state highway system.
- Identify all the tracts in the SCAG region that intersect this buffer
- Estimate the percentages of the following groups who live in tracts that intersect the buffer
- TOTPOP
- HISP
- NHWHT
- NHBLK
- NHASIAN
Buffering Part II
Using the buffer from part I
- Estimate the percentage of the population living within 500 feet of the freeway system for the following groups:
- TOTPOP
- HISP
- NHWHT
- NHBLK
- NHASIAN
Discussion
- Provide an interpretation of your data analysis. Does your analysis support a finding of disparities in exposure to freeway pollution? Why or why not?
- How do the results from the two approaches (Part I and Part II) differ. Why is this?
- What are the qualifications you need to make regarding your analysis?
- How might this study be extended in future work for a more refined estimation of population exposure to freeway pollution?