Creates a Spider Diagram between the points of a Center Points dataset and the features in the destination layer (points, polygons, or polylines) based on the values in the link fields in both datasets. The created polylines will connect the Centers to the destination features if the values in the link fields are the same.
Expression | Explanation |
---|---|
Function Name | SpiderDiagramAttributeLink |
<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. |
<Centers Link> | A String - the name of the link field from the Centers Dataset. |
<Destinations Link> | A String - the name of the link field from the Destinations Dataset. |
< 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. |
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, "SpiderDiagramAttributeLink", "Centers Dataset", "Destinations Dataset", "output dataset", "Centers Link" "Destinations Link" "CutOff Distance", "KeepSourceSref"]) |
.NET using ETGWRun.exe | StartInfo.FileName = ETGWPath StartInfo.Arguments = "SpiderDiagramAttributeLink" "Centers Dataset" "Destinations Dataset" "output dataset" "Centers Link" "Destinations Link" "CutOff Distance" "KeepSourceSref" |
.NET using ETGWOutX.dll | SpiderDiagramAttributeLink(Centers Dataset,Destinations Dataset, output dataset, Centers Link ,Destinations Link, CutOff Distance, KeepSourceSref) |
ArcPy | arcpy.SpiderDiagramAttributeLink(Centers Dataset, Destinations Dataset, output dataset, "Centers Link", "Destinations Link", "CutOff Distance", "KeepSourceSref") |
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.