Stream Link

Running programmatically

Assigns unique values to sections of streams between junctions. A Link is each section of Stream between two junctions, the stream head and a junction or a junction and the outlet.

Inputs:

Outputs:

Example:

An example of Stream Link output.

Notes:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name StreamLink
<InputStreamRaster> A String representing the input Stream raster dataset.
<InputFlowDirectionRaster> A String representing the input Flow Direction raster dataset.
<OutputRaster> A String - the full name of the output raster.

Running the function

ETSPath used in the table below is the full path to ETSRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETSurface\ETSRun.exe")

UnitsDegrees
Language Syntax
Python subprocess.call([ETSPath, "StreamLink", "InputStreamRaster", "InputFlowDirectionRaster", "OutputRaster"])
.NET using ETSRun.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "StreamLink" "InputStreamRaster" "InputFlowDirectionRaster" "OutputRaster"
.NET using ETSOutX.dll StreamLink(InputStreamRaster, InputFlowDirectionRaster, OutputRaster)
ArcPy arcpy.StreamLink("InputStreamRaster", "InputFlowDirectionRaster", "OutputRaster")

Notes:

(Go to TOP)