top of page
"Everything is related to everything else, but near things are more related than distant things"
Envelope Polygon
The Python script creates an envelope polygon feature class for a feature class.
# Ehsan Momeni
import arcpy
from arcpy import env
env.workspace = r"C:\Users\emomeni\" # Input folder
env.overwriteOutput = True
inFeatures = "Hawaii.shp" # input feature
outFeatureClass = "Envelope_Hawaii.shp" # output feature
arcpy.MinimumBoundingGeometry_management(inFeatures, outFeatureClass, "ENVELOPE", "NONE") # Minimum boundary geometry
bottom of page