Feature to Polygon (Data Management) (ArcInfo only) |
|
Release 9.3
Last modified March 8, 2012 |
![]() ![]() ![]() Print all topics in : "Tools" |
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
Usage tips
The input features can be lines or polygons.
The following environment settings affect this tool: Coordinate system, Extent, XY Tolerance, Z Tolerance, M Tolerance, XY Resolution, Z Resolution, M Resolution, Output XY domain, Output Z domain, Output M domain, Output has M values, Output has Z values, Default Z value, Configuration keyword, and Output Spatial Grid.
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.
|
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 |
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.
|
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 |
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)