Polyline Characteristics

Running programmatically

Calculates some characteristics of the polylines from a polyline dataset

Inputs:

Outputs:

Notes:

Illustration:

Polyline Characteristics

References:

1. Bourke, P., 1993. Fractal Dimension Calculator User Manual, Online. Available: http://paulbourke.net/fractals/fracdim/

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name PolylineCharacteristics
<input dataset> A String representing the input layer. Must be of Polyline type.
<output dataset> A String - the full name of the output layer.
{Calculate Fractal} A Boolean indicating whether to calculate fractal dimension or not.
{Precision} An Integer between 0 and 8 representing the number of places after the decimal point to be used.

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, "PolylineCharacteristics", "input dataset", "output dataset", "Calculate Fractal", "Precision"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "PolylineCharacteristics" "input dataset" "output dataset" "Calculate Fractal" "Precision"
.NET using ETGWOutX.dll PolylineCharacteristics(input dataset, output dataset, Calculate Fractal, Precision)
ArcPy arcpy.PolylineCharacteristics(input dataset, output dataset, "Calculate Fractal", "Precision")

Notes:

(Go to TOP)