Calculates some characteristics of the polylines from a polyline dataset
Fractal Dimension of the polylines is calculated using the Box Counting method (1)
Calculating the Fractal Dimension is time consuming. If you don't need this characteristic, uncheck the option for faster processing.
1. Bourke, P., 1993. Fractal Dimension Calculator User Manual, Online. Available: http://paulbourke.net/fractals/fracdim/
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. |
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:
<> - 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.