Analyzes a Single Direction Network (SDN) representing streams and assigns order to each edge using 2 different ordering methods.
Read more about Stream Ordering.
Streams classified using Strahler method
Streams classified using Shreve method.
Parameters
Expression | Explanation |
---|---|
Function Name | SDNClassifyStreams |
<Network to Use> | A String - the full name of the Network file (.etn). |
<Output Classified Streams> | A String - the full name of the output Polyline layer. |
<Classification Method> | A String indicating the method to be used. Valid Values: "Strahler" or "Shreve" |
ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")
Language | Syntax |
---|---|
Python | subprocess.call([ETGWPath, "SDNClassifyStreams", "Network to Use", "Output Classified Streams", "Classification Method"]) |
.NET using ETGWRun.exe | StartInfo.FileName = ETGWPath StartInfo.Arguments = "SDNClassifyStreams" "Network to Use" "Output Classified Streams" "Classification Method" |
.NET using ETGWOutX.dll | SDNClassifyStreams(Network to Use,Output Classified Streams,Classification Method) |
ArcPy | arcpy.SDNClassifyStreams(Network to Use,Output Classified Streams,Classification Method) |
Notes:
<> - required parameter
{} - optional parameter
The argument separator for StartInfo.Arguments is space. If a string might contain a space, you need to double quote it.