Converts a Stream raster to a polyline feature class. Optionally creates a point feature class with the Nodes of the stream network.
An example of Stream Raster to Features output - Streams and Nodes.
Parameters
| Expression | Explanation |
|---|---|
| Function Name | StreamRasterToFeatures |
| <InputStreamRaster> | A String representing the input Stream raster dataset. |
| <InputFlowDirectionRaster> | A String representing the input Flow Direction raster dataset. |
| <OutputStreams> | A String - the full name of the output stream feature layer. |
| {OutputNodes} | A String - the full name of the output nodes feature layer. |
ETSPath used in the table below is the full path to ETSRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETSurface\ETSRun.exe")
| Language | Syntax |
|---|---|
| Python | subprocess.call([ETSPath, "StreamRasterToFeatures", "InputStreamRaster", "InputFlowDirectionRaster", "OutputStreams", "OutputNodes"]) |
| .NET using ETSRun.exe | StartInfo.FileName = ETSPath StartInfo.Arguments = "StreamRasterToFeatures" "InputStreamRaster" "InputFlowDirectionRaster" "OutputStreams" "OutputNodes" |
| .NET using ETSOutX.dll | StreamRasterToFeatures(InputStreamRaster, InputFlowDirectionRaster, OutputStreams, OutputNodes) |
| ArcPy | arcpy.StreamRasterToFeatures("InputStreamRaster", "InputFlowDirectionRaster", "OutputStreams", "OutputNodes") |
Notes: