This is an old revision of the document!
Table of Contents
QGIS
First, let's get this over with and go with the basics.
Shape Files
What are shape files ? They are files that store polygons. An example of a shape is a triangle, which consists of 3 X,Y coordinates on a 2 dimensional plane. A square has 4, and so on. A state or a county can have hundreds of points. States like Colorado (basically a square)are much simpler compared to New York, New Jersey, etc.. or Wisconsin.
PUMA
The US census no longer provides information about counties. Instead they have come up with regions called PUMAs, which represent units of 100K people. In some counties that are huge (New York, Brooklyn) there are many PUMA regions in each county. In South Dakota, multiple counties are merged to form a single PUMA area.
PUMA DATA
Where can I find this PUMA data ? I downloaded it from here: https://www2.census.gov/geo/tiger/TIGER2020/PUMA/
Shapefile Files
Since each shape file corresponds to a state, I created a directory for each state and placed the assorted zip files into those directories.
For example, file “tl_2020_34_puma10.zip” will go into directory /opt/qgis/puma_2020/NJ I then proceeded to unzip each file in their respective directory.
Starting your Project
Menu –> Project –> New
Showing a street map
Menu –> Web –> Quick Map Services –> OSM –> OSM Standard
You can zoom in on an area by using the scroll wheel on your mouse
Adding files to your project
- Menu –> Layer –> Data Source Manager
- On the left hand menu, it should default to “Browser”
- On the main panel, choose the directory where your data is located (ie. /opt/qgis)
- For each state do:
- Choose the file with the extension “.shp”
- Double click the file
Assigning
- In order for each PUMA region to have it’s own color,
- right click the layer
- Go to Symbology
- In the file, choose a unique value that will identify each individual region
- (in this case, column PUMACE10)
- In the “Color Ramp”, I chose “Randomize Colors”
- Click the “Classify” button and all the values will appear next to it’s respective color.
- Click “OK”
