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

Feature Envelope to Polygon (Data Management) (ArcInfo only)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Creates polygons from the envelopes of each feature in the input feature class. An envelope is a rectangular area that covers a feature's geometry.

Learn more about how Feature envelopes to polygons works


Illustration

Feature envelopes to polygons illustration

Usage tips

Command line syntax
An overview of the Command Line window
FeatureEnvelopeToPolygon_management <in_features> <out_feature_class> {SINGLEPART | MULTIPART}

Parameter Explanation Data Type
<in_features>

The features whose envelopes will be converted to polygon features.

Feature Layer
<out_feature_class>

The feature class that will contain the polygons.

Feature Class
{SINGLEPART | MULTIPART}

Choose what multipart input features will produce.

  • SINGLEPART — The envelope of all geometries that make up a multipart feature will be written to the output as a single polygon.
  • MULTIPART — The envelope of each geometry that make up a multipart feature will be written to the output as a multipart polygon.

Boolean
Data types for geoprocessing tool parameters


Command line example

FeatureEnvelopesToPolygons d:\workspace\myGdb.mdb\feats d:\workspace\myGdb.mdb\fc_envelopes SINGLEPART

Scripting syntax
About getting started with writing geoprocessing scripts
FeatureEnvelopeToPolygon_management (in_features, out_feature_class, single_envelope)

Parameter Explanation Data Type
in_features (Required)

The features whose envelopes will be converted to polygon features.

Feature Layer
out_feature_class (Required)

The feature class that will contain the polygons.

Feature Class
single_envelope (Optional)

Choose what multipart input features will produce.

  • SINGLEPART — The envelope of all geometries that make up a multipart feature will be written to the output as a single polygon.
  • MULTIPART — The envelope of each geometry that make up a multipart feature will be written to the output as a multipart polygon.

Boolean

Data types for geoprocessing tool parameters


Script example

# Create the Geoprocessor
import arcgisscripting
gp = arcgisscripting.create()

# Set the workspace
gp.workspace = "c:\ws.mdb"

try:
    gp.FeatureEnvelopeToPolygon("province", "province_envelopes")

except:
    print "An error occurred while running Feature Envelope To Polygon"
    print gp.GetMessages(2)

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