Lab Seven: Marketing Outdoor Recreation in Chaffee County, Colorado through Queries, Clips, and Joins

where clause
fourteeners by colorado county

The WHERE clause is very helpful.

Counting points in polygons makes the Chaffee County Visitors Bureau happy!

no vacancy in Buena Vista, CO
This is a good sign for the Visitors Bureau!

Lab Seven Goals:

Armed with a BA in GES from UCCS, you have just been hired by the Chaffee County, Colorado Visitors Bureau. Chaffee County includes the towns of Buena Vista and Salida. Your first charge is to figure out how to retain more visitors in Buena Vista overnight - the Visitors Bureau wants to see more 'no vacancy' signs on the hotels. What if you could convince visitors that Buena Vista is the perfect central location for 'bagging' Colorado Fourteeners (mountains with summits over 14,000 ft.) on thier summer vacation? This would surely keep visitors in town for a few days, and would keep them buying local food, gear, gas, and supplies. As a geographer, and one who knows the lure of the state's Fourteeners, you have a good idea: Make a map that emphasizes the high concentration of Fourteeners near Buena Vista.

In Lab Seven, you will:


Tools:

Due: Sunday, Apr. 21, 5:00 PM


What I Grade:


Colorful Colorado - image design by Brandon Vogt
Colorful Colorado
Part One: Add Two Map Layers
  1. Open ArcMap
  2. From the "Add Data" button, select "Add Data From ArcGIS Online"
  3. Use "GES2050" as search term. Add the following TWO map layers to your project:
  4. These are map layers that Brandon created and shared with the world through ArcGIS Online
  5. Your project should look something like this
  6. Save the ArcMap document as "lab_7" to your Lab Seven directory

Part Two: Explore Attributes Tables

Colorado Counties map layer:

  1. Open the attributes table for the Colorado Counties layer file by right-clicking on the file in the Table of Contents (TOC) and selecting "Open Attribute Table"
  2. IMPORTANT: Attributes tables are composed of rows (called "records") and columns (called "fields").
  3. Notice there are 64 counties in Colorado.
  4. Notice some of the other descriptive information in the table such as population ("POP2010") and population per square mile ("POP10_SQMI")
  5. Sort the county names alphabetically A to Z: right-click on the field header "NAME" and select "Sort Ascending"
  6. Close the attributes table for the Colorado Counties layer file
Colorado Fourteeners map layer:
  1. Open the attributes table for the Colorado Fourteeners layer file
  2. Sort the Fourteener names alphabetically A to Z: right-click on the field header "Peak_Name" and select "Sort Ascending." Blanca Peak to Windom Peak, right?
  3. Notice some of the other descriptive information in the table such as "Elevation" and "County"
  4. Save your project

Part Three: Query and Select Attributes
  1. In the Colorado Fourteeners attributes table: from the "Table Options" button in upper left corner, select "Select by Attributes"
  2. We want to determine how many Colorado Fourteeners are equal to (=) or are above (>) 14350 ft. in elevation
  3. Enter the following WHERE clause into the query box: "Elevation" >= 14350
  4. Note that THREE records are selected in the attributes table - Mount Elbert, Harvard, and Massive.
  5. You can perform more complex queries such as: "Latitude" >= 39 OR "Longitude" >= -106 AND "Elevation" >= 14250
  6. Clear (de-select) the features that are currently selected by clicking on a "Clear Selection" icon
  7. Close the attributes table for the Colorado Fourteeners layer file
  8. Save your ArcMap project

Part Four: Spatially Join Two Layer Files

  1. We are interested in counting how many Fourteeners are in each county (to highlight Chaffee County's plethora of Fourteeners)! This is easily done by sorting attribute data (e.g., 3 in Alamosa County, 1 in Boulder County, etc.) and by selecting by attribute as outlined in Part Three BUT we want to MAP Fourteeners by county. In other words, we want to create a new attribute field in the Colorado Counties layer file that shows the SUM of Fourteeners by county. This calls for a "spatial join"
  2. Right-click on the Colorado Counties layer file in the TOC and select "Joins and Relates," then "Join..."
  3. You want to SUM the number of points (Fourteeners) within each polygon (Colorado County); make sure the settings are exactly like this. You can leave the default file name. Click ok.
  4. You now have a new Shapefile named "Join_Output"
  5. Open the Attributes Table of the new Shapefile and "Sort Descending" the field called "Count_"
  6. This new Shapefile contains a field that tells us how many Fourteeners there are by county!
  7. Close the Attributes Table. In the TOC, rename the new "Join_Output" Shapefile "Fourteeners by Colorado County"
  8. Save your project
  9. Next, let's map this information!

Part Five: Map Fourteeners by Colorado County

  1. Right-click on the new "Fourteeners by Colorado County" Shapefile, go to "Properties..."
  2. Click on the "Symbology" tab. Set the "Categories" to "Unique values". Make sure the "Value Field" is set to "Count_". Click the "Add All Values" button
  3. While still in the "Layer Properties" click on the "Labels" tab and use these settings. Close the "Layer Properties" window
  4. In the table of contents, right-click on the "Fourteeners by Colorado County" Shapefile and turn on labels
  5. The map shows us that Chaffee County is the winner!
  6. There are lots of ways to improve your map (return to the "Symbology" tab in the "Layer Properties"). As examples, you could
  7. Save your project
  8. Use the "Symbology" tools to find a nice symbol for the Fourteeners. This map shows the cluster of Fourteeners in Chaffee County - more than in any other Colorado county!
  9. Next, let's focus on Chaffee County

Part Six: Creating a New Shapefile that Contains ONLY Chaffee County

  1. all counties
    Chaffee only
    In order to capture (clip) only the features within Chaffee County, we need to make a new map layer of only Chaffee County. The county's boundary will serve as the cookie cutter shape, e.g., the clip feature.
  2. Open the "Fourteeners by Colorado County" attributes table
  3. Select only the record showing Chaffee County. Close the attributes table
  4. Right-click on the "Fourteeners by Colorado County" layer in the TOC
  5. Select "Data" then "Export Data" Use these settings (the important part here is that you are only exporting the "Selected features" - the Chaffee County polygon - and nothing else)
  6. Name the new Shapefile "chaffee_only"
  7. Click "Ok" and then, when asked if you want to add the exported layer to your map, click "Yes"
  8. Clear (de-select) the feature that is currently selected by clicking on a "Clear Selection" icon
  9. Now you have a new layer file (a Shapefile) containing ONLY the Chaffee County polygon (take a look at the attributes table)!
  10. This single polygon feature will become the 'clip feature' in the next section
  11. In the TOC, rename the new file "Chaffee County"

Part Seven: Clipping Roads (lines), Popuated Places (polygons), and Fourteeners (points) from Chaffee County (Polygon) -- the Clipping Feature

  1. clip feature
    before clips
    after clips
    Time to focus on Chaffee County
  2. From the "Add Data" button, select "Add Data From ArcGIS Online"
  3. Use "GES2050" as search term. Add to your project:
  4. Manually set the map scale to 1:500,000. Your project should look something like this
  5. Select "Geoprocessing" and then "Clip" from the main menu. Use these settings as you perform the clip on roads
  6. Perform another clip (Chaffee County is the clip feature); this time using the "Populated Places" layer file
  7. Perform another clip (Chaffee County is the clip feature); this time using the "Colorado Fourteeners" layer file
  8. Your project should look something like this

Part Eight: Add Labels and Make a Professional Map

  1. The goal here is to make a nice map that shows roads, populated places, and Fourteeners in Chaffee County.
  2. You can use the "Layout View" in ArcMap to make a professional map similar to this one
    Colorful Colorado - image design by Brandon Vogt
    a work in progress
  3. You must realize that the cartography process can (and should) take some time and a lot of thought.
  4. Go to "Layout View" (View > Layout View)
  5. Add to the layout view: