Buffer

Running programmatically

Creates buffer polygons from the features of the input dataset. The buffer distance (in the units of the spatial reference of the input dataset) can be entered as a number (equal for all input features)or a numeric field.

Inputs:

Outputs:

Notes :

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name Buffer
<input dataset> A String representing the input layer.
<output dataset> A String - the full name of the output layer.
{Buffer Distance} A Double representing the buffer distance in the units of the Spatial Reference of the input layer.
{Buffer 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 buffer distance.
{Dissolve Buffers} A Boolean. If True - the boundaries of the intersecting buffers will be dissolved.
{Dissolve Fields} A String representing a list (separated with ";") with the field names to be used for dissolving.
{Statistic Fields} A String representing a list (separated with ";") with the field names for which statistics will be created. Example: "Field1 Sum;Field2 Max;Field3 Min"
{Create Multiparts} A Boolean indicating whether the function will create multipart polygons.

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, "Buffer", "input dataset", "output dataset", "Buffer Distance", "", "Dissolve Buffers", "Dissolve Fields", "Statistic Fields", "Create Multiparts"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "Buffer" "input dataset" "output dataset" "Buffer Distance" "" "Dissolve Buffers" "Dissolve Fields" "Statistic Fields" "Create Multiparts"
.NET using ETGWOutX.dll Buffer(input dataset, output dataset, Buffer Distance, "", Dissolve Buffers, Dissolve Fields, Statistic Fields, Create Multiparts)
ArcPy arcpy.Buffer(input dataset, output dataset, "Buffer Distance", "", "Dissolve Buffers", "Dissolve Fields", "Statistic Fields", "Create Multiparts")

Notes:

(Go to TOP)