Lab 6: Terrain Descriptions, Viewshed Analysis, and Watershed Delineation
This lab has six short tasks. Task 1 lets you create a contour layer, a vertical profile, and a shaded-relief layer from a DEM. In Task 2, you will derive a slope layer, an aspect layer, and a surface curvature layer from DEM data. Task 3 covers viewshed analysis and the effect of the viewpoint's height offset on the view shed. Task 4 creates a cumulative view shed by using two viewpoints, one of which is added through on-screen digitizing. Task 5 covers the steps for deriving watersheds from a DEM. Task 6 focuses on the derivation of point-based watersheds and the importance of snapping points of interest to the stream channel.
You will use Spatial Analyst, 3D Analyst, and ArcToolbox tools to perform the tasks in this lab. Viewshed and watershed tools are based on 3D Analyst and Spatial Analyst extensions. Make sure you enable these extensions first. Type the answers to all questions at the end of each task, attach your map, and submit them to the instructor.
Before you start, copy the Lab6 folder in I:\Students\Instructors\Geoffrey_Duh\GEOG4593\ to your workspace in C:\Users.
What you need: plne, an elevation raster; and streams.shp, a stream shapefile. The elevation raster plne is imported from a USGS 7.5-minute DEM. The shapefile streams.shp shows major streams in the study area.
Create a contour layer
Create a vertical profile
Create a hillshade layer
Derive a slope layer
Derive an aspect layer
Derive a surface curvature layer
You will use the lookout.shp, a lookout point shapefile, to run a viewshed analysis. The lookout point shapefile contains a viewpoint. You will need the hillshade map of plne to better visualize the terrain. You first run the viewshed analysis without specifying any parameter value. Then you add 15 meters to the height of the viewpoint to increase the viewshed coverage.
You will digitize one more lookout location before running a viewshed analysis. The output from the analysis represents a cumulative viewshed.
1. Select Copy from the context menu of lookout in the table of contents. Select Paste Layer(s) from the context menu. The copied shapefile is also named lookout. Right-click the top lookout, and select Properties. On the General tab, change the layer name from lookout to newpoints.
2. Make sure that the Editor toolbar is available. Click Editor's dropdown arrow and select Start Editing. Select newpoints as the layer to edit. When the Create Features window appear, click on newpoints and select Point from the construction tools panel.
3. Next add a new viewpoint. To find suitable viewpoint locations, you can use Hillshade of plne as a guide and the Zoom In tool for close-up looks. You can also use plne and the Identify tool to find elevation data. When you are ready to add a viewpoint, make sure you click the Point construction tool, then click the intended location of the point. The new viewpoint should be complementary to the other point and be located on a vantage point. The new viewpoint has an OFFSETA value of 0. Open the attribute table of newpoints. Click the cell of OFFSETA for the new point and enter 15. Also, to separate the two viewpoints, enter the ID values of 1 and 2 respectively. Click the Editor menu and select Stop Editing. Save the edits. You are ready to use newpoints for view shed analysis.
4. Open the Viewshed tool. Make sure that the input surface is plne and the observer points are from newpoints. Save output as newview. Click OK to run the operation.
5. Viewshed of new points shows visible and not visible areas. The visible areas represent the cumulative viewshed. Portions of the view shed are visible to only one viewpoint, whereas others are visible to both viewpoints. The attribute table of Viewshed of new points provides the cell counts of visible from one point and visible from two points.
6. To save newpoints as a shapefile, right-click newpoints, point to Data, and select Export Data. In the Export Data dialog, specify the path and name of the output shapefile.
You will use a new data set for this task. What you need: emidalat, an elevation raster; and emidastrm.shp, a stream shapefile. You will delineate areawide watersheds using a "filled (or depressionless)" elevation raster, which is converted from a DEM, as the data source. emidastrm.shp serves as a reference. ArcToolbox has a Hydrology toolset in the Spatial Analyst toolbox that has tools for completing this Task. This exercise shows you only the standard procedures for watershed delineation. You can go to online to download other enhanced watershed delineation procedures mentioned in Baker et al. 2006 (week 8's reading). For example, the AGREE algorithm is available as an AML at the Center for Research in Water Resources, The University of Texas at Austin.
1. Insert a new data frame in ArcMap. Rename the new data frame Watershed, and add emidalat and emidastrm.shp to the new frame. If necessary, click Show/Hide ArcToolbox Window to open the ArcToolbox window.
2. First check if there are any sinks in emidalat. Sinks may result in an erroneous watershed delineation. Double-click the Flow Direction tool in the Spatial Analyst Tools/Hydrology toolset. Select emidalat for the input surface raster, enter temp_flowd for the output flow direction raster, and click OK. Double-click the Sink tool. Select temp _flowd for the input flow direction raster, specify sinks for the output raster, and click OK. Inspect the sinks layer and use the online help to figure out what its cell values represent. Answer Question 1 below.
3. This step fills the sinks in emidalat. Double-click the Fill tool. Select emidalat for the input surface raster, specify emidafill for the output surface raster, and click OK.
4. You will use emidafill for the rest of Task 5. Double-click the Flow Direction tool. Select emidafill for the input surface raster, and specify flowdirection for the output flow direction raster. Run the command. Inspect the flowdirection layer and use the online help to figure out what its cell values represent. Answer Question 2 below.
5. Next create a flow accumulation raster. Double-click the Flow Accumulation tool. Select flowdirection for the input flow direction raster, enter flowaccumu for the output accumulation raster, and click OK. Inspect the flowaccumu layer and use the online help to figure out what its cell values represent. Answer Question 3 below.
6. Next create a source raster, which will be used as the input layer for watershed delineation. Creating a source raster involves two steps. First select from (or threshold) flowaccumu those cells that have more than 500 cells flowing into them. Double-click the Con tool in the Spatial Analyst Tools/Conditional toolset. Select flowaccumu for the input conditional raster, enter 1 for the constant value, specify net for the output raster, and enter Value > 500 for the expression. (You can also click the SQL button to set the expression. Make sure to have a space before and after >.) Run the command. Second, we need to assign a unique value to each section of net between junctions (intersections). Go back to the Hydrology toolset. Double-click the Stream Link tool. Select net for the input stream raster, select flowdirection for the input flow direction raster, and specify "source" as the output raster. Run the command. Use unique values as the symbology of the source layer so that you can see individual stream links.
7. Now you have the necessary inputs for watershed delineation. Double-click the Watershed tool. Select flowdirection for the input flow direction raster, select source for the input raster, specify "watershed" for the output raster, and click OK. Change the symbology of watershed to that of unique values so that you can see individual watersheds. Answer Question 4 below.
1. How many sinks does emidalat have? Describe where these sinks are located.
2. If a cell in flowdirection has a value of 64, what is the cell's flow direction?
3. What is the range of cell values in flowaccumu?
4. How many watersheds are in watershed?
5. If the flow accumulation threshold were changed from 500 to 1000, would it increase, or decrease, the number of watersheds?
In this task, you will derive a specific watershed (i.e., upstream contributing area) for each point in pourpoints.shp.
1. Add pourpoints.shp to ArcMap.
2. Open the Watershed tool. Select flowdirection for the input flow direction raster, select pourpoints.shp for the feature point data, specify "temp_w" for the output raster, "ID" as the pour point field, and click OK. Change the symbology of temp_w to that of unique values so that you can see individual watersheds. Inspect the output layer and its attribute table. Answer Question 1 below.
3. Zoom in on a pour point. The pour point is not right on the stream link raster created in previous task. It is the same with the other points. This is why the pour points generated very small watersheds in Step 2. ArcGIS has a Snap Pour Point tool, which can snap a pour point to the cell with the highest flow accumulation value within a search distance. Use the Measure tool to measure the distance between the pour point and the nearby stream segment. A snap distance of 90 meters (3 cells) should place the pour points onto the stream channel.
4. Open the Snap Pour Point tool. Select pourpoints.shp for the feature point data, "ID" as the pour point field, and flowaccumu for the input flow accumulation raster. Specify "snap_pp" for the output raster and 90 as the snap distance. Click OK to run the tool. Inspect the output layer.
5. Follow step 2 above to execute the Watershed tool. Use snap_pp as the input raster this time. Save the output as "snap_w." Snap_w should have many more cells for each snapped pour point. Inspect the snap_w layer and its attribute table. Answer Question 2 below.
1. How many cells are associated with each of the original pour points in temp_w?
2. How many cells are associated with each of the new pour points in snap_w?