Split PolylineZ based on slope direction change.

Running programmatically

Splits the polylines of PolylineZ dataset in the points of change of the direction of the slope. Several characteristics of the resulting PolylineZ features are calculated and populated in the attribute table. Optionally a point feature class that contains the turning points (Ridges and Valleys) can be created.

Inputs:

Outputs:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name SplitPolylineZ
<input polylines> A String - full path to the Input PolylineZ dataset.
<output polylines> A String - the full path to the output PolylineZ layer.
{linear precision} An Integer representing the number of digits after the decimal point for linear measures.
{angular precision} An Integer representing the number of digits after the decimal point for angular measures.
{NoData} A Double - see explanations above.
{slope percent} A Boolean indicating whether the slope will be calculated in percent. If False the calculations will be performed in Degrees.
{output points} A String - full path to the output Ridge/Valley points dataset.

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")

Language Syntax
Python subprocess.call([ETSPath, "SplitPolylineZ", "input polylines", "output polylines", "linear precision", "angular precision", "NoData", "slope percent", "output points"])
.NET using ETSRun.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "SplitPolylineZ" "input polylines" "output polylines" "linear precision" "angular precision" "NoData" "slope percent" "output points"
.NET using ETSOutX.dll SplitPolylineZ(input polylines, output polylines, linear precision, angular precision, NoData, slope percent, output points)
ArcPy arcpy.SplitPolylineZ("input polylines", "output polylines", "linear precision", "angular precision", "NoData", "slope percent", "output points")

Notes:

(Go to TOP)