You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

In this lab, you will practice downloading, manipulating, mapping, and analyzing publicly available hydrology data from a variety of online websites to study the Buffalo-San Jacinto watershed subbasin, which encompasses the greater Houston region. Specifically, you will work with watershed and flowline data from the National Flood Interoperability Experiment (NFIE), stream gauge data from the National Water Information System (NWIS), and soils data from the Soil Survey Geographic Database (SSURGO).


Part 1: Setting Up a GIS Project

Creating a new project folder

First, you will need to establish a project folder, where you will store all of the files associated with this lab assignment. When working in a public computer lab environment, we recommend saving your work on an external USB drive. For the purposes of illustration throughout these lab instructions, the project folder will be located directly on a USB drive, which is mapped as the F: drive, though your USB drive letter may vary. If you wish to nest your project folder inside other folders within the file organization scheme on your USB drive, ensure that no spaces or special characters are used anywhere along the entire file path of your project folder.

  1. Using Windows Explorer, navigate to the location where you would like to locate your project folder (likely the E: or F: drive).
  2. Create a new folder inside your selected location and name it “HydrologyLab”. Remember not to use any spaces. Note the full file path of your HydrologyLab folder.

Connecting to a project folder

Now that you have created a project folder for this lab, you will need to connect to it in the ArcGIS for Desktop environment.

  1. On the Desktop, click the Start menu and select All Programs -> ArcGIS -> ArcGIS Pro.
  2. On the Log-In window, click Configure Your Licensing Options.
  1. In the ‘Licensing’ window, select Single Use License for License Type, as shown on the following page, once it finishes loading and click OK.
  2. In the ‘ArcGIS Pro’ window, select Blank.
  1. In the ‘Create a New Project’ window, type HydrologyLab as Name and click the icon to navigate to the HydrologyLab folder created. Uncheck Create a new folder for this project. Click OK.
  1. In the Insert tab, click ‘New Map’.
  1. On Contents pane, click Map name to rename it from Map to Lab1.

 

 

 

 

 

Part 2: Mapping Watershed Data

Downloading NFIE data

Your project folder and geodatabase have been created, so you are ready to download your first set of online GIS data. You will start by downloading data from the National Flood Interoperability Experiment (NFIE), which is searchable on the ArcGIS Online platform.

  1. In a web browser, go to www.arcgis.com.
  2. In the search box in the top right of the website, type “NFIE-Geo Regions”.
  3. Click to Open the NFIE-Geo Regions web map.
  4. On the map, click to select the Texas-Gulf region, which encompasses Houston.
  5. Click More info.
  6. In the Content section, right-click the NFIEGeo_12.gdb.zip file and select Download.
  1. Navigate to the location where the zipped file has been downloaded.
  2. Right-click the downloaded NFIEGeo_12.gdb.zip file and select Extract All….
  3. In the ‘Extract Compressed (Zipped) Folders window, click Extract.
  4. In the new extracted folder window that opens, right-click the extracted NFIEGeo_12.gdb folder and select and Copy.
  5. Navigate back to your HydrologyLab folder.
  6. Paste the NFIEGeo_12.gdb folder directly inside your HydrologyLab folder. Do NOT paste them inside the Hydrologylab.gdb geodatabase.
  7. Ensure that your HydrologyLab folder appears as shown below.
  1. Return to ArcGIS Pro.

Unfortunately, any changes you make to files outside of ArcGIS Pro are not automatically reflected inside ArcGIS Pro. Since you just added new files to your HydrologyLab folder, you will need to refresh your HydrologyLab folder in order for them to appear.

  1. In the Catalog Pane on the right of the map display, expand Folders , right-click your HydrologyLab folder and select Refresh.
  2. Expand the NFIEGeo_12 geodatabase and the Geographic feature dataset to preview what layers it contains .
  3. Drag the Geographic feature dataset on Catalog Pane into the Map Display.

Adding feature data in ArcMap

If you ever close the Catalog window, causing the Catalog tab to disappear, you can reopen it by clicking the View button on the Standard toolbar, navigating to the Windows menu and selecting Catalog Pane.

The polygons in the Subwatershed layer represent all of the subwatersheds within the Texas-Gulf Coast Region 12, which you selected when initially downloading the data from the ArcGIS Online website. Now you will examine the attributes of this subwatershed data.

  1. In the Table of Contents, right-click the Subwatershed layer and select Attribute Table. Expand the size of the table, if desired.

You will notice three of the columns are labeled HUC_8, HUC_10, and HUC_12, which correspond to the subbasin, watershed, and subwatershed codes respectively. HUC stands for hydrologic unit code, which is a unique identification number assigned to each hydrologic unit in the United States. Further to the right, you will see additional columns containing the actual names of the HUC-10 watersheds and HUC-12 subwatersheds.

  1. Close the attribute table.

Adding an online basemap

First, you would like to identify the subwatersheds within the greater Houston region, but without any additional reference layers regarding streets or administrative boundaries, this would be very difficult to do. Fortunately, you can utilize various basemaps of the world hosted online by Esri, rather than having to obtain all of the GIS reference layers yourself. Because these basemaps are being hosted online, they cannot be edited and can sometimes be slow to load.

  1. On the Standard toolbar, click the Basemap button.
  1. In the ‘Basemap’ window, select the Topographic basemap.

Though the basemap appears in the background, it is obscured by the other data layers.

  1. In the Table of Contents, uncheck the StreamGage, Flowline, Catchment and Waterbody layers, leaving only the Subwatershed layer visible.

The basemap is still not visible beneath the Subwatersheds layer, so you will need to make that layer transparent.

  1. In the Table of Contents, click and select the Subwatershed layer. Click Appearance Tab.
  1. Under effects, type “60” to change the transparency of the layer.

Now the basemap should be visible beneath the subwatersheds.

Identifying features

Ultimately, you want to select all of the subwatersheds that lie within the Buffalo-San Jacinto subbasin in which Houston is located, but first you will need to look up the HUC-8 code corresponding to this subbasin.

  1. Use the navigation tools to zoom in to the Houston region. On the Tools toolbar, make sure that the Explore tool is on.
  2. In Map Display, click near the center of Houston.

In the ‘Identify’ window, notice that the HUC_8 field contains the code 12040104, which corresponds to the Buffalo Bayou-San Jacinto subbasin. The first two digits (12) stand for the region (Texas-Gulf Region). The next two digits (1204) stand for the subregion (Galveston Bay-San Jacinto). The next two digits (120401) stand for the basin (San Jacinto). The last two digits (12040104) stand for the subbasin (Buffalo-San Jacinto). The additional two digits added to create the HUC-10 and HUC-12 codes stand for the watershed and subwatershed, respectively.

  1. Close the pop-up window.

Performing an attribute query

Now you are ready to perform an attribute query to select all of the subwatersheds within the Buffalo-San Jacinto subbasin (HUC-8 = 12040104).

  1. On the Map tab, select Select by Attributes….
  1. In the Geoprocessing pane, use ‘Layer Name or Table View’ drop-down menu to selectSubwatershed.
  2. Use the ‘Selection Type’ drop-down menu to select New selection.
  3. Click Add Clause.


  1. Select HUC-8, and is equal to, in the first two fields.
  2. Type ‘12040104’ in the last field.
  3. Verify that your ‘Select By Attributes’ pane appears as shown on the following page and click Add.
  1. Click Run.
  2. In the Table of Contents, right-click the Subwatershed layer and select Selection -> Zoom To Selection.

Exporting selected features

Now that the Buffalo-San Jacinto subwatersheds have been selected, they can be exported into a separate layer stored in your HydrologyLab geodatabase.

  1. In the Table of Contents, right-click the Subwatershed layer and select Data -> Export Features….

Notice that, by default, the ‘Export Data’ window is set to export only the selected features using the coordinate system of the data source. Also notice that the output feature class defaults to the HydrologyLab geodatabase, because you initially set this as your default geodatabase.

  1. For ‘Output feature class:’, rename “Subwatershed_CopyFeatures” to “SubwatershedsNew”.
  2. Ensure your ‘Copy Features’ window appears as shown below and click Run.

Since you’ve exported the particular subwatersheds of interest, you may now remove the master subwatersheds layer from your map document.

  1. Right-click the Subwatershed layer and select Remove.

Saving ArcGIS projects

At this point, it is a good idea to save your map document and to continue saving regularly.

  1. On the Standard toolbar, click the Save button.

At the top of the Table of Contents window, notice that the leftmost List By Drawing Order button is currently selected.

  1. At the top of the Table of Contents, click the List By Source button.

The Source tab displays the full file path locations of all the data layers referenced in your map document. By default, the map document will store this full file path to all of your data files.

  1. At the top of the Table of Contents, click the List By Drawing Order button to return to the list of data layers.

Geoprocessing: Dissolving features

Now you would like to highlight the boundary of the entire Buffalo-San Jacinto subbasin, but if you tried to change the outline of the current subwatersheds layer, it would change the outline around all subwatersheds. Instead, you will dissolve all the subwatersheds into a single subbasin feature stored in a new feature class inside your HydrologyLab geodatabase.

  1. Next to the Map tab, click the Analysis tab and select Tools.
  2. On the search bar, type Dissolve and press Enter. Double-click Dissolve (Data Management Tools).
  1. In the top right corner of the ‘Dissolve’ window, click question mark icon.

Read the ‘Dissolve’ window help and review the sample illustration. Notice that this tool dissolves boundaries based on common values in a particular field. In this case, you will dissolve the subwatersheds based on their common subbasin value, resulting in a file showing only the larger subbasin boundary.

  1. For ‘Input Features’, drag in the SubwatershedsNew layer from the Table of Contents or select the SubwatershedsNew option from the drop down box.
  2. For ‘Output Feature Class’, rename the feature class from “SubwatershedsNew_Dissolve” to “Subbasin”.
  3. For ‘Dissolve_Field(s)’, select the HUC_8 field, since this is the field containing the common subbasin value you wish to dissolve on.
  4. Ensure your ‘Dissolve’ window appears as shown below, and click Run.
  1. In the Table of Contents, toggle the new Subbasin layer off and on to get a better idea of the result of the Dissolve tool.
  2. In the Table of Contents, right-click the Subbasin layer and select Attribute Table.

Notice that only the dissolve field, in this case the HUC_8 field, was preserved. Because multiple subwatersheds were dissolved into a single subbasin, it is not possible to retain all of the attributes of each separate subwatershed.

  1. Close the attribute table.

In order to see all the layers simultaneously, you will give the subbasin boundary a hollow outline.

  1. In the Table of Contents, click the rectangle symbol beneath the Subbasin layer name to open the ‘Symbology’ tab.
  2. On the top of the tab, click Properties.
  1.  For ‘Color:’, use the drop-down menu to select No Color.
  2. For ‘Outline Color:’, used the drop-down menu to select Black.
  3. For ‘Outline Width:’, type “2”.
  4. Click Apply.

Now you would like to create a new layer based on the watersheds in the Buffalo-San Jacinto subbasin. In order to facilitate symbolization and labeling of the watershed names, you will now dissolve the subwatersheds into their respective watershed boundaries using the HUC-10 code.

  1. Repeat steps above, but for ‘Output Feature Class’, rename the feature class “Watersheds” and for ‘Dissolve_Field(s)’, check the HU_10_NAME field.

You no longer need the original subwatersheds layer for this section. The rest of the analysis will be done with the new Watersheds layer.

  1. In the Table of Contents, uncheck the original SubwatershedsNew layer.
  2. In the Table of Contents, drag the Subbasin layer above the Watersheds layer, so it is fully visible again.

Symbolizing features by categories using unique values

Now that you have generated the watershed features within the Buffalo-San Jacinto subbasin, you will symbolize them based on their HUC-10 watershed name.

  1. In the Table of Contents, right-click the Watersheds layer. Click Symbology.
  2. Use the drop-down menu to select Unique values.
  3. Use the ‘Value Field’ drop-down menu to select the HU_10_NAME field.
  4. Use the ‘Color Scheme’ drop-down menu to select the color ramp of your choice.

While you could have also dissolved using the HU_10 field, the watershed name is probably more meaningful to you than the HU_10 code.

Notice that the subwatersheds from the previous layer have now been grouped into 8 watersheds within the Buffalo-San Jacinto subbasin.

  1. As before, apply 60% transparency to the Watersheds layer.
  2. Make sure that the Watersheds layer is selected in Contents and click Labeling under Feature Layer tab on the main tab display.
  3. Select HU_10_Name in the Field drop-down menu.
  4. Click the Label icon to turn on the labels.

Depending on your screen size, you may notice the easternmost watershed does not get labeled if there is not adequate space for the required text. This could be adjusted using advanced labeling techniques, but you will leave the map as is.

Creating a layout

  1. On the main tab, click Insert -> New Layout -> ANSI Landscape -> Letter.
  2. Click Insert tab and click Map Frame.
  3. Select the Lab1 map under Map.
  1. Select Layout tab and click Activate.
  2. Right-click Watersheds layer and click Zoom to Layer.
  3. Select Layout tab and click Close Activation.

Using techniques you learned last week, create a suitable map, as described for the map layout to be turned in below. If you would like to orient the page in landscape, open the ‘Page and Print Setup’ window from the File menu. All map elements, such as text, legends, north arrows, and scale bars can be added to the layout from the Insert menu.

  1. Select Share Tab and click Export Layout.
  1. Save your map document.

FOR MAP LAYOUT TO BE TURNED IN

Create an 8.5 x 11 layout clearly deliniating the subbasin and watersheds on top of a basemap, with the symbology and labels corresponding to the watersheds. You may need to further adjust the order of your layers in the Table of Contents and their symbology.

 

Part 3: Mapping Flowline Data

Next, you will add flowlines to your map, which were previously downloaded from NFIE.

  1. In the Table of Contents, check the Flowline and Catchment layers to make them visible.

Performing a spatial query

Now you would like to select out only the flowlines within the Buffalo-San Jacinto subbasin, but this is not possible with an attribute query, so you will instead use a spatial query.

  1. On the Main menu, select Select By Location….
  2. For ‘Input Feature Layer’, use the drop-down menu to select Flowline.
  3. For ‘Relationship’, use the drop-down menu to select "Have their center in".
  4. For ‘Selecting Features’, check the Subbasin layers.

This setting ensures that catchments and flowlines which share the outside border with the subbasin will not also get selected.

  1. Ensure your ‘Select by Location’ window appears as shown and click Run.

All of the flowlines catchment areas that are within the subbasin are now selected.

  1. Export the selected Flowline features into your HydrologyLab geodatabase and name the new feature class “Flowlines”.
  2. Remove the original Flowline layer from the Table of Contents.
  3. Repeat step 1-7 using Catchment layer as Input Feature Layer and name the new feature class “Catchments”.
  4. Uncheck the Catchments layer, so it is no longer visible.
  5. In the Table of Contents, click the line symbol beneath the Flowlines layer name.
  6. In the ‘Symbology’ window under Gallery, select the Water (line) symbol.
  7. Open the Flowlines attribute table.
  8. Right-click the LENGTHKM field and select Statistics….

Symbolizing features using a single symbol

Calculating summary statistics for an attribute table field

From the ‘Statistics of Flowlines’ window on the right of map display, you can see there are 543 flowlines in the Buffalo-San Jacinto basin whose average length is 1.94 km and total length is 1052 km.

  1. Calculate statistics on the AreaSqKM  field in the Catchments attribute table.

Based on the statistics you have just seen, calculate the answers to the questions listed for the map layout to be turned in on the following page. In order to add the statistics to your map layout, you will insert a rectangle text element.

  1. If necessary, go to the Catalog window and click Layouts on top of the map display to get in layout mode.
  2. Click the Insert tab. Select the drop down menu of Text and click Rectangle.
  1. Drag a rectangle on your map layout to insert a rectangle text element.

You can edit the text and customize the rectangle appearance by double-clicking on the rectangle text element.

  1. Save your map document.

FOR MAP LAYOUT TO BE TURNED IN

Add a text box to the layout containing the answers to the following questions:

1)      How many catchments are there in the Buffalo-San Jacinto subbasin?

2)      What is their average area in acres and in km2?(Look up conversion factor.)

3)      What is the total area of catchments in km2?

4)      What is the ratio of the total length of the streamlines to the total area of the Buffalo-San Jacinto catchments (called the drainage density) in km-1?

Symbolizing features by quantities using graduated symbols

  1. Open the Flowlines Symbology tab.
  2. Use Symbology drop down menu to select Graduated symbols.
  3. Use the ‘Field’ drop-down menu to select the Q0001C field, which contains the mean annual flow.
  4. Click the line next to Template to change the symbology of your flowlines.
  1. Save your map document.

 

FOR MAP LAYOUT TO BE TURNED IN

The flowlines should have graduated symbology based on their mean annual flow.

 

Part 4: Mapping Stream Gauge Data

Selecting data within subbasin

  1. In the table of contents, check the StreamGages layer which you brought in at the beginning with the Geographic feature dataset from the NFIEGeo_12 Geodatabase.
  2. On the Main menu, click Select By Location….
  3. For ‘Input Feature Layer’, check the StreamGage layer.
  4. For ‘Relationship’, use the drop-down menu to select within.
  5. For ‘Selecting Features’, use the drop-down menu to select Subbasin.
  6. Ensure your ‘Select by Location’ window appears as shown and click Run.

All of the stream gages that are within the subbasin are now selected.

  1. Export the selected StreamGage features into your HydrologyLab geodatabase and name the new feature class “SubbasinStreamGages”.
  2. Remove the original StreamGage layer from the Table of Contents.
  3. Save your map document.
  4. When you are finished creating your layout, close ArcGIS Pro.

FOR MAP LAYOUT TO BE TURNED IN

The stream gage site locations should be added to the map layout.

 

Part 5: Mapping Soils Data

Downloading SSURGO data

  1. In a web browser, go to http://arcgis.com.

This is the ArcGIS website.

  1. On the top right search bar, search for SSURGO Downloader.  

  1. Scroll down and click the result SSURGO Downloader.
  1. On the right hand side of the page click View Application.
  1. In the search bar in the top corner, type Houston, TX.
  1. Click in the Buffalo-San Jacinto subbasin to select it and click the Download link.
  1. Right-click on your downloaded BuffaloSanJacinto_12040104.ppkx file and select Show in folder. Copy the file.
  2. Navigate back to your HydrologyLab folder.
  3. Paste the BuffaloSanJacinto_12040104.ppkx file directly inside your HydrologyLab folder. Do NOT paste it inside the Hydrologylab.gdb geodatabase.
  4. Single click the file and press Enter.
  5. A new ArcGIS Pro window will open. You will complete Part 5 using this window. Do not delete your previous ArcGIS Pro window. 

A map package (.mpk), contains both a map document (.mxd) and all data layers referenced by that map document. The new instance of ArcGIS Pro will open showing the different soil classes within the subbasin.

  1. On the Map tab, click the Explore button.
  2. In the Map Display, click on any of the soil classes.

By default, you will see all of the attributes of the top-most layer, which is currently the Subbregion (Subbasin) layer. In order to see the attributes of the Map Units (soils) layer:

  1. In the ‘Explore’ drop down menu, select Selected in Contents
  2. Click Map Units layer in contents to select it.
  3. Again in the Map Display, click on any of the soil classes.

Scroll down through the list of fields to see the wide variety of data available for each soil class. You may need to scroll to the right to see the actual values stored in these fields. In particular, you will be utilizing the data stored in the Available Water Storage 0-100 cm – Weighted Average field.

Geoprocessing: Clipping features

You will now clip the soil polygons to the extent of the Buffalo-San Jacinto subbasin.

  1. On the Map tab, click the Analysis tab and select the Tools.
  2. On the search bar, type Clip and press Enter. Click Clip (Analysis Tools).

Read the ‘Clip’ window help and review the sample illustration. Notice that this tool clips one dataset to the extent, or shape, of another dataset.

  1. For ‘Input Features’, use the drop-down menu to select the Map Units layer.
  2. For ‘Clip Features’, use the drop-down menu to select the Subbasin layer.

Notice that the ‘Output Feature Class’ did not default to your HydrologyLab geodatabase, but instead to the default geodatabase that was referenced in the map package you downloaded.

  1. Rename Output Feature Class to “Soils” and click Run.

Notice that the resulting Soils layer maintains the soil class boundaries, but limits the extent of the soils layer to the extent of the subbasin boundary. You no longer need the master Map Units layer and may remove it.

  1. In the Table of Contents, right-click the Map Units layer and select Remove.
  2. Open the Soils Symbology pane.
  3. Click Graduated colors.
  4. Use the ‘Field’ drop-down menu to select the Available Water Storage 0-100 cm – Weighted Average field.

Symbolizing features by quantities using graduated colors

Notice that the density of the polygon outlines obscures the colors of the polygons themselves.

  1. Shift select all symbols. Right click to select Format Symbols….

There is a bug in the software that sometimes prevents the ‘Properties for All Symbols’ interface from opening. As an alternative, you may shift-select all five symbols and right-click and select Properties for Selected Symbol(s)….

  1. Click Properties. Use the ‘Outline Color:’ drop-down menu to select No Color.
  2. Click Apply.
  3. Symbolize the Subbasin layer using the same symbology as you used in the  Lab1 map document.

Now you will calculate the water storage capacity of the top 1 m of soil within the Buffalo-San Jacinto subbasin.

  1. Open the Soils layer attribute table.
  2. Calculate statistics for the Available Water Storage 0-100 cm – Weighted Average field.

Based on the statistics you have just seen, calculate the answers to the questions listed for the map layout to be turned in on the following page. Note that, technically, a true calculation of the average available water storage for the subbasin would require factoring in the area of each soil polygon to calculate a weighted average. In this case, just use the statistical mean as it is listed in the ‘Statistics’ window. Similarly, the total water storage for the subbasin would require multiplying the available water storage by the area of each soil polygon and then summing the results. In this case, you may simply multiply the area of the entire subbasin by the statistical mean as it is listed in the ‘Statistics’ window.

As before, create a map layout and add the statistics using a rectangle text element.

TO BE TURNED IN: An 8.5 x 11 map document showing the soils clipped to the Buffalo-San Jacinto subbasin and a text box containing the answers to the following questions:

  1. What is the average available water storage (cm) in the Buffalo-San Jacinto subbasin?
  2. Based on your previous calculation of the area of the subbasin in km2, what volume of water (km3) could potentially be stored in the top 1 m of soil in the Buffalo-San Jacinto subbasin if the soil were fully saturated with water?

Exporting map documents

  1. To export both your Lab1Hydrology and Lab1Soils map documents, open each of them in turn and click the Share menu and select Export Layout….
  2. Navigate to your HydrologyLab folder.
  3. Use the ‘Save as type:’ drop-down menu to select PDF.
  4. Click Export.
  5. Print both map PDFs to turn in

Deliverables

  1. Create an 8.5 x 11 layout with the following layers limited to the subbasin:
  • Subbasin – hollow outline
  • Watersheds – categorical symbology and labeled
  • Flowlines – graduated symbology
  • Stream gages – point symbol
  • Basemap

 

Include a text box in the layout containing the answers to the following questions:

1)      How many HUC-12 catchments are there in the Buffalo-San Jacinto Basin?

2)      What is their average area in km2?

3)      What is the total area of this subbasin in km2?

4)      What is the ratio of the length of the streamlines to the area of the Buffalo-San Jacinto subbasin (called the drainage density) in km-1?

 

2. Create an 8.5 x 11 layout with the following layers limited to the subbasin:

  • Subbasin – hollow outline
  • Soils – graduated colors

 

Include a text box in the layout containing the answers to the following questions:

1)      What is the average available water storage (cm) in the Buffalo-San Jacinto subbasin?

2)      Based on your previous calculation of the area of the subbasin in km2, what volume of water (km3) could potentially be stored in the top 1 m of soil in the Buffalo-San Jacinto subbasin if the soil were fully saturated with water?

 

  • No labels