User Tools

Site Tools


census:qgis_using

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
census:qgis_using [2025/12/19 20:05] – created mlivolsicensus:qgis_using [2025/12/19 21:55] (current) – [Assigning Colors to Areas] mlivolsi
Line 22: Line 22:
 Menu --> Project --> New Menu --> Project --> New
  
-==== Showing a map ====+==== Showing a street map ====
 Menu --> Web --> Quick Map Services --> OSM --> OSM Standard Menu --> Web --> Quick Map Services --> OSM --> OSM Standard
  
 You can zoom in on an area by using the scroll wheel on your mouse 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 Colors to Areas ====
 +
 +I want each state to have it's own color, and each region to be a gradient of that main color. 
 +
 +We'll have 4 main map colors (<fc #ff0000>red</fc>/<fc #00ff00>green</fc>/<fc #4682b4>blue</fc>/<fc #ffa500>orangello</fc>)
 +
 +  - In order for each PUMA region to have it’s own color, 
 +    - right click the layer 
 +    - Go to Properties --> Symbology
 +  - On the VERY UPPER drop down, choose "Categorized" 
 +  - The "Value" is a field that included in the file (a long story). Choose GEOID10
 +  - Click "Classify" to display all the GEOID10 values
 +  - For the "Color Ramp", choose a pre-installed theme (like "Reds)
 +  - 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”
 +
 +{{:census:qgis_assign_colors.png?600|}}
  
  
census/qgis_using.1766174759.txt.gz · Last modified: by mlivolsi