Calculates some characteristics of the polygons from a polygon dataset
1. Bourke, P., 1993. Fractal Dimension Calculator User Manual, Online. Available: http://paulbourke.net/fractals/fracdim/
Parameters
Expression | Explanation |
---|---|
Function Name | PolygonCharacteristics |
<input dataset> | A String representing the input layer. Must be of Polygon type. |
<output dataset> | A String - the full name of the output layer. |
{Calculate Depth} | A Boolean indicating whether to calculate polygon depth or not. |
{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, "PolygonCharacteristics", "input dataset", "output dataset", "Calculate Depth", "Calculate Fractal", "Precision"]) |
.NET using ETGWRun.exe | StartInfo.FileName = ETGWPath StartInfo.Arguments = "PolygonCharacteristics" "input dataset" "output dataset" "Calculate Depth" "Calculate Fractal" "Precision" |
.NET using ETGWOutX.dll | PolygonCharacteristics(input dataset, output dataset, Calculate Depth, Calculate Fractal, Precision) |
ArcPy | arcpy.PolygonCharacteristics(input dataset, output dataset, "Calculate Depth", "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.