Points To Pie Segments

Running programmatically

Creates Pie segment polygons from points, pie direction, radius and central angle.

Inputs:

Outputs:

Example :

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name PointsToPieSegments
<input dataset> A String representing the input layer. Must be of Point type.
<output dataset> A String - the full name of the output layer.
<Direction Field> Required. A String representing the name of a field in the in the attribute table of the input dataset. The field has the values for the directions of the pies to be created.
<Distance Field> A String representing the name of a field in the in the attribute table of the input dataset. The field has the values for the distances of the pies to be created.
<Angle Field> A String representing the name of a field in the in the attribute table of the input dataset. The field has the values for the central angle of the pies to be created.
<Direction Type> Required. A String indicating the direction type to be used. Valid values:
  • "NorthAzimuth", "NA"
  • "SouthAzimuth", "SA"
  • "Polar"
  • "QuadrantBearing", "QB"
<Direction Units> Required. A String indicating the direction units to be used. Valid values:
  • "DecimalDegrees", "DD"
  • "DegreesMinutesSeconds", "DMS"
  • "Radians"
  • "Gradians""
  • "Gons", "QB"

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, "PointsToPieSegments", "input dataset", "output dataset", "Direction Field", "Distance Field", "Angle Field", "Direction Type", "Direction Units"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "PointsToPieSegments" "input dataset" "output dataset" "Direction Field" "Distance Field" "Angle Field" "Direction Type" "Direction Units"
.NET using ETGWOutX.dll PointsToPieSegments(input dataset, output dataset, Direction Field, Distance Field, Angle Field, "Direction Type", Direction Units)
ArcPy arcpy.PointsToPieSegments(input dataset, output dataset, "Direction Field" , "Distance Field", "Angle Field", "Direction Type", "Direction Units")

Notes:

(Go to TOP)