Versions Compared

Key

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

...

Notice that the familiar State Plane Texas South Central projection is now listed. Because both the input and output coordinate systems are based on the NAD 1983 geographic coordinate system, no geographic transformation is required.

  1. Ensure your ‘Project’ window your Geoprocessing pane appears as shown below and click Run.



...

  1. Under the 'Raster Analysis' section, use the for ‘Cell Size’ drop-down menu to select the Same as layer DEMft.
  2. Use the For ‘Snap Raster’ drop-down menu to select the DEMft raster.



  3. At the top of the Geoprocessing window, click the Parameters tab on the left.
  4. Ensure your ‘Feature to Raster’ window Geoprocessing pane appears as shown below and click Run.



  5. In the Contents pane, uncheck the Subbasin_StatePlane layer.

If you zoom in closely, you will notice the raster cells intersecting the Flowlines_StatePlane layer have been added to the FlowlineRaster layer and are assigned a color.

 

Image Modified

 

  1. Symbolize the FlowlineRaster layer using Unique Values based on the COMID values stored in the Value field, so you can see how the COMID values have been assigned to the cells.

    Image Modified

  2. In the Contents pane, collapse the FlowlineRaster symbology.

...

You currently have a raster where each cell contains either the COMID value or the value NoData. NoData cells are transparent, hence you can still see the DEMft layer beneath them. Ideally, you would like a raster where all the flowline cells are assigned a value of 1 to use as a simple flag.

...

.

  1. Return to the Geoprocessing pane.
  2. At the top left of the Geoprocessing pane, click the Back button.
  3. In the search box, type "greater".
  4. Click the Greater Than (Spatial Analyst Tools) tool.

...

  1. For ‘Input raster or constant value 1’, select the FlowlineRaster layer.
  2. For ‘Input raster or constant value 2’, type1”.
  3. For ‘Output raster’, rename the raster from “Greater_Flow1” to “FlowlineBinary”.
  4. Ensure your ‘Greater Than’ window Geoprocessing pane appears as shown below and click Run.
    Image Removed
    Image Added

The resulting raster assigns each cell a value of 1 when it intersects with a flowline and a value of NoData when it does not intersect a flowline.

...

  1. At the top left of the Geoprocessing pane, click the Back button.
  2. In the search box, type "reclassify".
  3. Click the Reclassify tool (Spatial Analyst) tool.
  4. For ‘Input raster’, select the FlowlineBinary layer.
  5. For ‘Reclass field’, select the Value field.

In the ‘Reclassification’ table, you will see a list of old values and new values. You would like to maintain all old values of 1, but you would like to assign all old values of NoData NODATA to a new value of 0.

  1. In the New values column, replace the “NoData” “NODATA” value with a value of “0”.
  2. For ‘Output raster’, rename the raster from “Reclass_Flow1” to “Reclassify”.
  3. At the top of the Geoprocessing window, click the Environments tab on the right.
  4. For Under the 'Processing Extent' section, for 'Extent', select Same As layer: DEMft.
  5. Under the 'Raster Analysis' section, for ‘Cell Size’, select Same as layer DEMft.
  6. For ‘Snap Raster’, select the DEMft raster, use the ‘Extent’ drop-down menu to select Same as layer DEMft.Use the ‘Snap Raster’ drop-down menu to select the DEMft raster.

  7. Ensure your ‘Reclassify’ window appears as shown below and click Run.

...