Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now all cells that were previously assigned a value of NoData within the subbasin geometry have been assigned a value of 0.  This will allow you to perform uniform mathematical operations across the entire subbasin in the future.

 

 Image Added

Calculating Euclidean distances

...

  1. Use the ‘Mask’ drop-down menu to select the Subbasin_StatePlane layer.
  2. Go back to Parameters, ensure your ‘Euclidean Distance’ window appears as shown below and click Run

...


  1. Image Added
  1. Right-click FlowlineDistance layer and click Symbology.
  2. Select Quantile for Method and 5 for classes.

...


  1. Image Added

You should now see cells that vary in color the farther away they are from the nearest flowline.

 

 Image Added

Performing map algebra

...

Finally, you are ready to perform the reconditioning step. You can think of this as digging a trench with a funnel-shaped cross-section along each flowline to ensure that water will flow in the intended direction. The math behind this step is explained in the diagram below and all units are in feet, since the State Plane Texas South Central project stores XY coordinates in feet and since you also recalculated the Z elevations in Lab 2 in feet.

 Image Added

  1. Click Tools.
  2. Within the Spatial Analyst Tools toolbox, collapse the Distance toolset.
  3. Double-click the Map Algebra toolset à Raster Calculator tool.

...

  1. By double-clicking the layer names and single-clicking the calculator buttons, enter the following equation: "DEMft" - 30 * "FlowlineReclass" - 0.02 * (1500 - "FlowlineDistance") * ("FlowlineDistance" < 1500).
  2. For ‘Output raster’, rename the raster from “demft_raster” to “DEMRecon”.
  3. Ensure your ‘Raster Calculator’ window appears as shown below and click Run.

...


  1. Image Added

You should notice that the DEMRecon looks very similar to the original DEMft. To better understand the difference between the two, you will actually calculate the difference between their corresponding values.

  1. Click the ArcToolbox tab.
  2. Double-click the Raster Calculator tool again.
  3. Using the same clicking technique as before, enter the following equation: "DEMft” – “DEMRecon”.
  4. For ‘Output raster’, rename the raster to “DEMDiff”.

 

 

...

 

 

  1. Ensure your ‘Raster Calculator’ window appears as shown below and click Run.

    Image Added

 

The DEMDiff layer displays the amount of earth that has been removed through the reconditioning process.

 Image Added

Part 3: Analyzing Hydrologic Terrain

...

The Fill tool fills sinks in the DEM raster to remove small imperfections in the data. If cells with higher elevations surround a cell, the water gets trapped in that cell and cannot flow. The Fill tool modifies the elevation of the original DEM to eliminate these problems.

 Image Added

  1. Click Tools from Analysis tab.
  2. Within the Spatial Analyst Tools toolbox, double-click the Hydrology toolset à Fill tool.
  3. For ‘Input surface raster’, drag in the DEMRecon layer from the Table of Contents.
  4. For ‘Output surface raster’, rename the raster from “Fill_DEMReco1” to “FIL”.
  5. Ensure your ‘Fill’ window appears as shown below and click Run.

...


  1. Image Added

Calculating flow direction

Now you will calculate the cardinal direction in which water from each cell is expected to flow based on the elevations of surrounding cells. Each direction is assigned one of 8 integer values between 1 and 128 as indicated in the illustration below.

 Image Added

  1. Click Tools from Analysis tab.
  2. In the Hydrology toolset, double-click the Flow Direction tool.
  3. For ‘Input surface raster’, drag in the FIL layer from the Table of Contents.
  4. For ‘Output flow direction raster’, rename the raster from “FlowDir_FiIL1” to “FDR”.
  5. Ensure your ‘Flow Direction’ window appears as shown below and click Run.

...


  1. Image Added

The result may appear a bit strange at first, due to the color scheme assigned to each cardinal direction.

 Image Added

  1. Symbolize the FDR layer using Unique Values with a smooth black and white gradient for the Color Scheme.

You will notice the layer now looks similar to a hillshade.

 Image Added

Calculating flow accumulation

Finally, you will calculate flow accumulation in each cell as illustrated below. Flow accumulation is dependent on the flow direction you calculated previously.

 Image Added

  1. Click Tools from Analysis tab.
  2. In the Hydrology toolset, double-click the Flow Accumulation tool.
  3. For ‘Input flow direction raster’, drag in the FDR layer from the Table of Contents.
  4. For ‘Output accumulation raster’, rename the raster from “FlowAcc_FDR1” to “FAC”.
  5. Ensure your ‘Flow Accumulation’ window appears as shown below and click Run.

 Image Added

  1. Turn off the Flowlines_StatePlane layer to better see the FAC layer.
  2. Right-click the FAC layer and click the Symbology.
  3. For ‘Symbology’, use drop-down menu to select Classify.
  4. In the ‘Method’ drop-down menu to select Equal Interval
  5. Use the ‘Classes’ drop-down menu to select 8 classes.
  6. Click the Classify… button.
  7. For ‘Class Breaks’, double-click the numbers in the Upper Value column  and typethe following list: 100, 300, 1000, 3000, 10000, 30000, 100000. (Leave the final max value, 351408 as is.)
  8. Click OK.
  9. Use the ‘Color Ramp’ drop-down menu to select the multipart color scheme.

...


  1. Image Added

...


  1. Image Added

Visually trace along the streams until you find the darkest path exiting the watershed. Notice that, according to the model you have just generated, the Buffalo-San Jacinto basin drains north into Lake Houston, instead of south into Galveston Bay. Look for the exact point on the map where this divergence is created. It is circled in the image below. A problem is that the topography in that area is extremely flat and, rather than a single well-defined channel, there are wide bodies of water connecting the bayous to Galveston Bay. Calculating the flow accumulation more accurately would require further editing the base raster so that the wide flat bodies of water are not treated as narrow flowlines. This example also illustrates how you must always double-check the results of your models to ensure they make sense. For the purposes of learning the remaining geoprocessing tools in this lab, you will continue with the existing flow accumulation model, as if it was correct.

 

Divergence

Outlet

 

Image Added

Zoom into the northern outlet point, as indicated on the image above, so that you can see the individual pixels.

 

 

 Image Added

Creating and editing feature classes

...

  1. Click the Catalog tab.
  2. Right-click the Lab1 geodatabase and select New àFeature Class….
  3. For ‘Feature Class Name’, type “Outlet”.
  4. Use the ‘Geometry Type’ drop-down menu to select Point.
  5. For Coordinate System, select Current Map.
  6. Click Run.
  7. On the Standard toolbar, click the Edit tab and click Create.

...


  1. Image Added
  1. On the Create Features pane, select Outlet layer and click Point. Click à.

...


  1. Image Added

 

  1. In the Map Display, click the outlet pixel to draw a point there.

...


  1. Image Added
  1. On the Editor toolbar, click Save.
  2. When asked if you want to save your edits, click Yes.
  3. Close the Editor toolbar and the Create Features tab.

...

Now you will delineate the watershed that flows to the outlet point.

 Image Added

 

  1. Click Tools from Analysis tab.
  2. In the Hydrology toolset, double-click the Watershed tool.
  3. For ‘Input flow direction raster’, select the FDR layer from the drop-down menu.
  4. For ‘Input raster or feature pour point data’ select the Outlet layer from the drop-down menu.
  5. For ‘Output raster’, rename the raster from “Watersh_FDR1” to “Watershed”.
  6. Ensure your ‘Watershed’ window appears as shown below and click Run.

    Image Added

...


  1. Image Added

 

Notice that this is very close, but does not exactly match the boundaries of the subbasin you were originally provided from NHDPlus.

...

  1. Click Tools from Analysis tab.
  2. In the Map Algebra toolset, double-click the Raster Calculator tool.
  3. Using the same clicking technique as before, enter the following equation:   ("FAC" > 3000) & ("Watershed" > 0).
  4. For ‘Output raster’, rename the raster from “fac_rasterca” to “Streams”.
  5. Ensure your ‘Raster Calculator’ window appears as shown below and click Run.

 

...


  1. Image Added

 

Again you should have a binary raster, where flowline cells are assigned a value of 1 and all other cells are assigned a value of 0.

 Image Added

Now you will separate your entire raster of flowlines into individual flowline segments as illustrated below.

 Image Added

  1. Click Tools from Analysis tab.
  2. In the Hydrology toolset, double-click the Stream Link tool.
  3. For ‘Input stream raster’, select the Streams layer from the drop-down menu.
  4. For ‘Input flow direction raster’, select the FDR layer from the drop-down menu.
  5. For ‘Output raster’, rename “StreamL_Stre1” to “StreamLinks”.
  6. Ensure your ‘Stream Links’ window appears as shown below and click Run.

...


  1. Image Added
  2. Symbolize the StreamLinks layer using unique values.
  3. In the Table of Contents, collapse the StreamLinks symbology.

 

 

...


  1. Image Added

Delineating catchment basins

...

  1. Click Tools from Analysis tab.
  2. In the Hydrology toolset, double-click the Watershed tool.
  3. For ‘Input D8 flow direction raster’, select the FDR layer from the drop-down menu.
  4. For ‘Input raster or feature pour point data’ select the StreamLinks layer from the drop-down menu.
  5. For ‘Output raster’, rename “Watersh_FDR2” to “Catchments”.
  6. Ensure your ‘Watershed’ window appears as shown below and click Run.

...


  1. Image Added
  2. Symbolize the Catchments layer using unique values.

...


  1. Image Added
  2. In the Table of Contents, collapse the Catchments symbology.

...

  1. Click Tools from Analysis tab.
  2. Double-click the Conversion Tools toolbox à From Raster toolset à Raster to Polygon tool.
  3. For ‘Input raster’, select the Catchments layer from the drop-down menu.
  4. For ‘Output polyline features’, rename “RatsterT_Catchme1” to “CatchmentPoly”.
  5. Uncheck Simplify polylines.
  6. Ensure your ‘Raster to Polygon’ window appears as shown below and click Run.

...


  1. Image Added
  2. Symbolize the CatchmentPoly layer using unique values with ID as the value field.

...


  1. Image Added
  2. In the Table of Contents, collapse the CatchmentPoly symbology.

Now you will also convert the raster StreamLinks into a polyline feature class. While you could use the Raster to Polyline tool, you will instead use a tool in the Hydrology toolset, designed specifically for converting raster stream links into polyline features. The difference between the two methods is illustrated below.

 Image Added

  1. Click Tools from Analysis tab.
  2. Collapse the Conversion Tools toolbox.
  3. In the Hydrology toolset, double-click the Stream to Feature tool.
  4. For ‘Input stream raster’, drag in the StreamLinks layer from the Table of Contents.
  5. For ‘Input flow direction raster’, drag in the FDR layer from the Table of Contents.
  6. For ‘Output polyline features’, rename the feature class from “StreamT_StreamL1” to “DrainageLines”.
  7. Uncheck Simplify polylines.
  8. Ensure your ‘Stream to Feature’ window appears as shown below and click Run.

...


  1. Image Added

 Image Added

Calculating Strahler stream order

Now you will use the Strahler method to assign a flow hierarchy to the stream links as illustrated below.

 Image Added

  1. Click Tools from Analysis tab.
  2. In the Hydrology toolset, double-click the Stream Order tool.
  3. For ‘Input stream raster’, select the Streams layer from the drop-down menu.
  4. For ‘Input flow direction raster’, select the FDR layer from the drop-down menu.
  5. For ‘Output raster’, rename the raster from “StreamO_Stre1” to “StrahlerOrder”.
  6. Ensure your ‘Stream Order’ window appears as shown below and click Run.

...


  1. Image Added
  2. In the Table of Contents, turn off all layers except for the new StrahlerOrder layer, so that its symbology is more apparent.

 Image Added

Calculating zonal statistics

...

  1. Click Tools from Analysis tab.
  2. In the Spatial Analyst Tools toolbox, double-click the Zonal toolbox à Zonal Statistics as Table.
  3. For ‘Input raster or feature zone data’, select the StreamLinks layer from the drop-down menu.
  4. Use the ‘Zone field’ drop-down menu to select the Value field.
  5. For ‘Input value raster’, select the StrahlerOrder layer from the drop-down menu.
  6. For ‘Output table’, rename the table from “ZonalSt_StreamL1” to “OrderTable”.
  7. Ensure your ‘Zonal Statistics as Table’ window appears as shown below and click Run.

 

 

...


  1. Image Added

Adding a new field to an attribute table

...