PolylineZ Characteristics

Running programmatically

Calculates several characteristics of PolylineZs. The results are stored in fields in the attribute table of the output layer.

Inputs:

Outputs:

The results are stored in the attribute table of the output layer. The linear measures are in the units of the spatial reference of the input dataset. The slope is measured in decimal degrees (from -90 to +90). The following fields are added to the attribute table

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name PolylineZCharacteristics
<input dataset> A String representing the input layer. Must be of Polyline type.
<output dataset> A String - the full name of the output layer.
{Linear Precision} An Integer indicating the number of digits after the decimal point for linear measures.
{Angular Precision} An Integer indicating the number of digits after the decimal point for angular measures.
{No Data} A Double - represents undefined Z values."

Running the function

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, "PolylineZCharacteristics", "input dataset", "output dataset", "Linear Precision", "Angular Precision", "No Data"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "PolylineZCharacteristics" "input dataset" "output dataset" "Linear Precision" "Angular Precision" "No Data"
.NET using ETGWOutX.dll PolylineZCharacteristics(input dataset, output dataset, Linear Precision, Angular Precision", No Data)
ArcPy arcpy.PolylineZCharacteristics(input dataset, output dataset, "Linear Precision" , "Angular Precision", "No Data")

Notes:

(Go to TOP)