WS Delineation ARCGIS
WS Delineation ARCGIS
3. Enable the Spatial Analyst Extension. (Tools > Extensions > check
mark next to Spatial Analyst)
4. Open Spatial Analyst Toolbar. (View > Toolbars > Spatial Analyst)
6. Add the dem layer to your map by using the Add Data button ( ) from
f:\temp\hydro\yourarea
7. Open ArcToolbox by using the button. ( )
8. Set some environment properties (Tools > Options > Geoprocessing >
Environments)
2. Set the Cell Size as below. Note, your numeric value may differ.
9. Save the map document as f:\temp\hydro\watershed.mxd. (File > Save
AS)
Watershed Delineation
NOTE: This operation takes too long to perform during lab. Therefore,
a new depressionless layer is available in your downloaded data
(dem_fill). Please add that layer and proceed to step 3.
1. Open the ArcToolbox toolset Spatial Analyst Tools > Hydrology. This is
where the surface hydrology tools are located.
2. Open the Fill tool. The input surface is the dem grid. Output is
f:\temp\hydro\Fill_dem1 (the default name).
While the grid is filling, which will take a large number of minutes, you
might want to entertain yourself with the Onion.
3. After a few minutes, a new layer, fill_dem1, will be added to the data
frame. This is identical to the dem raster, but any areas of internal
drainage are filled in.
Note the difference in the lowest elevation value in the legend; sink cells in
the original data set have been filled in.
4. Remove the dem layer from the data frame by (right clicking on the layer
and hitting Remove), since you will be working on the filled grid from this
point on.
• Flow direction
1. Open the Flow Direction tool (ArcToolbox > Spatial Analysis Tools >
Hydrology > Flow Direction).
1. The input surface is the filled dem grid.
2. The output raster should be set to f:\temp\hydro\FlowDir_fill1 (the
default)
2. Turn off display of the filled dem layer.
• Flow accumulation
1. Set the input flow direction raster to the output of the last task.
2. Set the output raster to f:\temp\hydro\FlowAcc_flow1 (default
name).
2. Again, this may take some time. Surf the Internet at your leisure.
3. When complete, turn off the flow direction layer. The flow accumulation
layer has a value for each cell; that value represents the number of cells
upstream from that cell. Cells with higher values will tend to be located in
drainage channels rather than on hillsides or ridges.
4. Alter the legend for this layer. It will be easier to visualize high-flow
pathways by altering how cells are displayed.
2. In the dialog box under the Classify button, alter the break value
for the first class to 5000.
3. Change the symbology (no color for the first class, red for the
second class).
Now the cells that are displayed in red have the flow of at least
5000 upstream cells flowing through them.
2. Add the new point layer to your data frame and begin editing. (View >
Toolbars > Editor then Editor > Start Editing)
3. In order to better see where you are adding points, open a magnifier
window (Window > Magnifier).
4. You may need to zoom in and increase the zoom factor of the magnifier
(right-click the magnifier's title bar and select Properties) before adding
any points.
You must zoom in quite a way to do this; otherwise your pour point
may not be located within a high-flow pathway!
If your points are not in a high-flow pathway, move them before
proceeding.
8. If adding more than one point, open the attribute table for the ppoints
layer. (right click on layer, Open Attribute Table) Alter the ID field to
represent unique values for each different record (e.g., 1 and 2). Once you
have added the points and altered their IDs, stop editing the layer, making
sure to save the edits. (Editor > Stop Editing > Save Edits? > Yes)
Watersheds are defined by pour point IDs; if you do not alter the ID values
for the points, there will be only one value, and you will not generate
unique watershed areas.
9. Select Tools > Options > Geoprocessing > Environments > General
Settings > Output Extent to make sure the output extent will be correct
(you don't want the watershed truncated).
10. Also, check the Spatial Analyst > Options as well (Spatial Analyst
controls outputs from the Spatial Analyst Tools, e.g., Surface Analysis >
Hillshade).
11. The watersheds are not generated directly from point features, but by
raster cells. In order to convert the pour points to a grid, use the tool
Conversion tool in ArcToolbox (Conversion Tools > To Raster >
Feature to Raster).
If the Analysis Extent and cell size do not match an existing layer,
there will be problems of registration between the pour grid and the
other grids necessary to delineate watersheds. Therefore, it is always
a good idea to set your cell size and analysis extent relative to an
existing grid layer.
Note that the new feature_pour1 layer cell covers the place where the
pour point was added. If the pour grid cells are not in high-flow
pathways, the watersheds you create will be too small. If the pour grid
cells are not directly "over" the flow path, you will not create
watersheds that represent large drainage areas.
• Delineating watersheds
1. Open the Watershed tool under Toolbox > Spatial Analysis Tools >
Hydrology. Note that one of the options for the input data is the point
feature dataset (ppoints). Selecting a point feature dataset will work, but
there is no way to verify your point features will fall in a high-flow pathway.
That is the reason for the conversion to raster in the last step. It is
recommended to have converted the points to a grid first, which verifies
that the pour point locations are in the high-flow pathway.
1. Select the flow direction grid as the input flow direction raster.
2. Select the raster version of the pour points as the input raster.
Flow length shows the distance water will need to travel across the grid.
This shows the flow length to the ultimate pour point for each cell.
Suppose you want the flow length to the closest downstream high-flow
pathway, rather than to the ultimate outlet. This is possible, using flow
length with a weighting grid.
3. Create the weight grid by making a grid whose values are no data within
the 5000-cell high-flow path, and values of 1 elsewhere. This is done with
a setnull function in the Raster Calculator:
This calculation means "make a new grid; where the flow accumulation
cells have a value greater than or equal to 5000 in value, make those
output cells null; where the flow accumulation cells are less than 5000 in
value, make the output cells have a value of 1")
4. Use the new grid as a weight grid in the flow length tool.
5. The output grid now has values that represent the flow length-distance to
the closest high-flow pathway rather than to the ultimate outlet.
Raster to vector conversion (stream network as line shape)
Raster data sets can represent drainage networks (e.g., the flow
accumulation cells that have at least 5000 upstream cells). When making
maps that present the results of watershed delineation you may want to show
the grid-based flow network instead of, or in addition to, the vector stream
network, especially if the two flow networks do not agree.
1. First, create a grid that represents only high-flow (5000 +) cells. This is
also done in the Raster Calculator, similar to what was done in the last
step.
2. Open the Stream to Feature tool.
1. The input stream raster is the result of the last calculation.
2. The input flow direction raster is the flow direction grid that was
made before.
Watershed visualization
The last step for this lesson will be to visualize the watersheds created earlier
with other data.
5. Create contours from dem and add them to map. Add a copy of the
watershed1.shp polygon feature layer.
6. Alter its legend so that is not filled and displayed with a red outline.
7. Alter the drawing order and legends so that features are discernible. Does
this look reasonable to you?
8. Visualizing in ArcScene can also be helpful.
1. Save project and remove all layers but your watershed raster.
2. Add land use layer. (landcover)
3. Clip landcover by watershed raster.
1. ArcToolbox > Spatial Analysis Tools > Extraction > Extract by
Mask
2. Input layer: landcover.
3. Mask data: watershed raster.
4. Since landcover and watershed raster layers are no longer
needed, they can be removed if so desired.
5. Normally, at this point you might want to convert this raster back
into vector data in order to calculate areas, assign other attributes,
etc. However, this is a time consuming process and will be skipped
for this lab. This does not mean we cannot do some future
calculations with the grid data.
6. Open the attribute table for your clipped land use layer. What you
see is the land use classification code and a count. The count is
the number of cells for that land use classification. Using this data,
we can calculate area and percentages of land use.
Add all the counts together and divide by each row to get
percentage of each land use classification.