User Tools

Site Tools


census:qgis_using

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
census:qgis_using [2025/12/19 20:53] mlivolsicensus:qgis_using [2025/12/22 19:15] (current) – [Other Data] mlivolsi
Line 29: Line 29:
 ==== Adding files to your project ==== ==== Adding files to your project ====
   * Menu --> Layer --> Data Source Manager   * 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:   * For each state do:
-  * Choose the file with the extension ".shp" +    * Choose the file with the extension ".shp" 
-  * Double click the file+    * Double click the file
  
-==== Assigning ====+==== 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,    - In order for each PUMA region to have it’s own color, 
     - right click the layer      - right click the layer 
-    - Go to Symbology+    - 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 the file, choose a unique value that will identify each individual region 
     - (in this case, column PUMACE10)     - (in this case, column PUMACE10)
Line 43: Line 53:
   - Click the “Classify” button and all the values will appear next to it’s respective color.   - Click the “Classify” button and all the values will appear next to it’s respective color.
   - Click “OK”   - Click “OK”
 +
 +{{:census:qgis_assign_colors.png?600|}}
 +
 +
 +===== Twisted Map =====
 +
 +If the map appears twisted, you should do the following. On the lower right, click the  box that will look like the following (ie. esri:102100). You’re value will look different
 +
 +{{:census:qgis_twisted_map.png?200|}}
 +
 +
 +Choose WGS_1984_Web_Mercator_Auxiliary_Sphere 
  
  
 +===== Other Data =====
  
 +In other articles, we'll talk about adding other layers (like you would do in Photoshop/Gimp) where data is layered. It's not all just shape files, as you can have points on a map (if you have the lat/lon coordinates) or other maps.
census/qgis_using.1766177614.txt.gz · Last modified: by mlivolsi