Spider Diagram

Running programmatically

Creates a polyline feature class representing the shortest distance between centers (point dataset) and Destinations (Point, Polyline or Polygon datasets). The Destinations are allocated to the closest Center. 



Running Programmatically

(Go to TOP)


Expression Explanation
Function Name SpiderDiagram
<Centers Dataset> A String representing the input layer. Must be of Point type.
<Destinations Dataset> A String representing the reference layer. Must be of Polyline type
<output dataset> A String - the full name of the output layer.
< CutOff Distance> A Double representing the Cut-Off distance to be used. The units of the tolerance are the units of spatial reference of the Centers Dataset if KeepSourceSref = TRUE. Otherwise - the units of spatial reference of the Destinations Dataset.
{KeepSourceSref} A Boolean indicating whether the output to have the spatial reference of the input layer. If False or 0, the spatial reference of the reference layer will 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, "SpiderDiagram", "Centers Dataset", "Destinations Dataset", "output dataset", " CutOff Distance", "KeepSourceSref"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "SpiderDiagram" "Centers Dataset" "Destinations Dataset" "output dataset" "CutOff Distance" "KeepSourceSref"
.NET using ETGWOutX.dll SpiderDiagram(Centers Dataset,Destinations Dataset, output dataset, CutOff Distance, KeepSourceSref)
ArcPy arcpy.SpiderDiagram(Centers Dataset, Destinations Dataset, output dataset, "CutOff Distance", "KeepSourceSref")


(Go to TOP)