Features To Envelopes

Running programmatically

Creates a polygon from the envelope of each feature in the input feature class. Attributes of the original features are transferred to the envelope polygons.




Input Dataset

Result Dataset


Expand parameter


Running Programmatically

(Go to TOP)


Expression Explanation
Function Name FeaturesToEnvelopes
<input dataset> A String representing the input layer.
<output dataset> A String - the full name of the output layer.
{Expand Tolerance} A double - distance in the units of the spatial reference of the input dataset with which the envelope of each feature will be expanded. The parameter is optional. The default value is 0 - no expand.

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, "FeaturesToEnvelopes", "input dataset", "output dataset", "Expand Tolerance"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "FeaturesToEnvelopes" "input dataset" "output dataset" "Expand Tolerance"
.NET using ETGWOutX.dll FeaturesToEnvelopes(input dataset, output dataset,Expand Tolerance)
ArcPy arcpy.FeaturesToEnvelopes(input dataset, output dataset,Expand Tolerance)


(Go to TOP)