Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Features toolset > Tools

Feature to Polygon (Data Management) (ArcInfo only)

Release 9.3
Last modified March 8, 2012
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

NOTE: This topic was updated for 9.3.1.


Creates an output polygon feature class from input line and/or polygon features. If lines are used as inputs, each distinct "closed" area will be a feature in the output polygon feature class.


Illustration


Feature to Polygon

Usage tips

Command line syntax
An overview of the Command Line window
FeatureToPolygon_management <in_features...in_features> <out_feature_class> {cluster_tolerance} <attributes> {label_features}

Parameter Explanation Data Type
<in_features...in_features>

Line or polygon datasets whose geometry will be used to create area features. Each distinct "closed" area will become a feature in the output feature class.

Feature Layer
<out_feature_class>

The path name of the feature class that will be created and will contain the result of the operation.

Feature Class
{cluster_tolerance}

The minimum distance separating all feature coordinates (nodes and vertices) as well as the distance a coordinate can move in X or Y (or both).

You can set the value to be higher for data that has less coordinate accuracy and lower for datasets with extremely high accuracy.

Linear unit
<attributes>

Specifies whether to transfer fields and attributes from input feature classes to the output.

  • ATTRIBUTES — The field schemas (field names and properties) will be transferred from all input polygon feature classes. This does not include any of the field's contents or attributes. See the Label Features parameter for an option to populate attributes of the output feature class based on an existing (point) feature class. The Identity tool can be used to transfer attributes from one polygon feature class to another. This is the default option.
  • NO_ATTRIBUTES — None of the input feature class's field schemas or attributes will be transferred to the output feature class.

Boolean
{label_features}

The point feature class that holds the attributes that will be transferred to the output polygons. The attributes will be transferred to the polygon from the point that it contains (intersects).

Feature Layer
Data types for geoprocessing tool parameters


Command line example

FeatureToPolygon_management c:\workspace.mdb\bldgs_east_ln;c:\workspace.mdb\bldgs_west_ln c:\workspace.mdb\bldgs # # d:\workspace\bldgs_atts_pts

Scripting syntax
About getting started with writing geoprocessing scripts
FeatureToPolygon_management (in_features, out_feature_class, cluster_tolerance, attributes, label_features)

Parameter Explanation Data Type
in_features (Required)

Line or polygon datasets whose geometry will be used to create area features. Each distinct "closed" area will become a feature in the output feature class.

Feature Layer
out_feature_class (Required)

The path name of the feature class that will be created and will contain the result of the operation.

Feature Class
cluster_tolerance (Optional)

The minimum distance separating all feature coordinates (nodes and vertices) as well as the distance a coordinate can move in X or Y (or both).

You can set the value to be higher for data that has less coordinate accuracy and lower for datasets with extremely high accuracy.

Linear unit
attributes (Required)

Specifies whether to transfer fields and attributes from input feature classes to the output.

  • ATTRIBUTES — The field schemas (field names and properties) will be transferred from all input polygon feature classes. This does not include any of the field's contents or attributes. See the Label Features parameter for an option to populate attributes of the output feature class based on an existing (point) feature class. The Identity tool can be used to transfer attributes from one polygon feature class to another. This is the default option.
  • NO_ATTRIBUTES — None of the input feature class's field schemas or attributes will be transferred to the output feature class.

Boolean
label_features (Optional)

The point feature class that holds the attributes that will be transferred to the output polygons. The attributes will be transferred to the polygon from the point that it contains (intersects).

Feature Layer

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "d:/Workspace.mdb"
gp.toolbox = "management"
gp.FeatureToPolygon("c:\workspace.mdb\bldgs_east_ln, c:\workspace.mdb\bldgs_west_ln", "bldgs_poly", 0.23)

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