Polygons to Deepest Points

Running programmatically

Creates from each polygon in the input feature class an inside point located farthest from the polygons boundary. Attributes of the original features are transferred to the resulting polygons.

Inputs:

Outputs:

Note:

The function uses an interpolation algorithm and the precision of the calculation might not be 100%

Examples (the center of the circle in the images below are the "deepest" points for each polygon):

Example 1

example1

Example 2 - Europe

europe

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name PolygonsToDeepestPoints
<input dataset> A String representing the input layer. Must be of polygon type.
<output dataset> A String - the full name of the output layer.

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

Notes:

(Go to TOP)