Show Navigation | Hide Navigation

Buffer (Analysis)

Release 9.1
Last modified August 15, 2005
E-mail This Topic Printable Version Give Us Feedback


Related Topics

Creates buffer polygons to a specified distance around the Input Features. An optional dissolve can be performed to remove overlapping buffers.

Learn more about how Buffer works


Illustration

Buffer illustration

Usage tips

Command line syntax
Introducing geoprocessing methods—Using dialog boxes and the command line
Buffer_analysis <in_features> <out_feature_class> <buffer_distance_or_field> {FULL | LEFT | RIGHT} {ROUND | FLAT} {NONE | ALL | LIST} {dissolve_field;dissolve_field...}

Parameter Explanation
<in_features>

The features to be buffered.

<out_feature_class>

The feature class that will contain the buffer features.

<buffer_distance_or_field>

The distance used to create buffer zones around Input Features. Either a value or a numeric field can be used to provide buffer distances.

{FULL | LEFT | RIGHT}

The side(s) of a line that will be buffered.

  • FULL—A buffer will be generated on both sides of the line. This is the default.
  • LEFT—The topological left of a line will be buffered.
  • RIGHT—The topological right of a line will be buffered.

The LEFT and RIGHT options are not available with an ArcView or ArcEditor license.

{ROUND | FLAT}

For lines, the shape of the buffer at the line end points.

  • ROUND—End will be in the shape of a half circle. This is the default.
  • FLAT—Creates rectangular line endings with the middle of the short side of the rectangle coincident with the end point of the line. This option is not available with an ArcView or ArcEditor license.

{NONE | ALL | LIST}

Specifies whether a dissolve will be performed to remove buffer feature overlap.

  • NONE—Individual buffer for each feature is maintained, regardless of overlap. This is the default.
  • ALL—Dissolves all the buffers together into a single feature and removes any overlap.
  • LIST—Dissolves by a given list of fields.

{dissolve_field;dissolve_field...}

List of field(s) for the dissolve. Buffer polygons that share the same set of values in their Dissolve Field(s) will be dissolved together.

The Add Field button, which is used only in ModelBuilder, allows you to add expected field(s) so you can complete the dialog and continue to build your model.


Command line example
Buffer_analysis c:\basedata\road.shp c:\basedata\buffered_roads.shp '200 Feet' FULL FLAT

Scripting syntax
Introducing geoprocessing methods—Running a script
Buffer_analysis (in_features, out_feature_class, buffer_distance_or_field, line_side, line_end_type, dissolve_option, dissolve_field)

Parameter Explanation
in_features (Required)

The features to be buffered.

out_feature_class (Required)

The feature class that will contain the buffer features.

buffer_distance_or_field (Required)

The distance used to create buffer zones around Input Features. Either a value or a numeric field can be used to provide buffer distances.

line_side (Optional)

The side(s) of a line that will be buffered.

  • FULL—A buffer will be generated on both sides of the line. This is the default.
  • LEFT—The topological left of a line will be buffered.
  • RIGHT—The topological right of a line will be buffered.

The LEFT and RIGHT options are not available with an ArcView or ArcEditor license.

line_end_type (Optional)

For lines, the shape of the buffer at the line end points.

  • ROUND—End will be in the shape of a half circle. This is the default.
  • FLAT—Creates rectangular line endings with the middle of the short side of the rectangle coincident with the end point of the line. This option is not available with an ArcView or ArcEditor license.

dissolve_option (Optional)

Specifies whether a dissolve will be performed to remove buffer feature overlap.

  • NONE—Individual buffer for each feature is maintained, regardless of overlap. This is the default.
  • ALL—Dissolves all the buffers together into a single feature and removes any overlap.
  • LIST—Dissolves by a given list of fields.

dissolve_field (Optional)

List of field(s) for the dissolve. Buffer polygons that share the same set of values in their Dissolve Field(s) will be dissolved together.

The Add Field button, which is used only in ModelBuilder, allows you to add expected field(s) so you can complete the dialog and continue to build your model.


Script example
import win32com.client
gp = win32com.client.Dispatch("esriGeoprocessing.GPDispatch.1")
gp.workspace = "c:/basedata"
gp.toolbox = "analysis"

# Buffer roads.shp based on each road feature's value in the Distance field, and dissolve buffers into 
# groups according to values from Road_Type field.  
gp.buffer("roads.shp", "buffered_roads.shp", "Distance", "FULL", "ROUND", "LIST", "Road_Type")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.