AnsweredAssumed Answered

Problem in Creating Envelope Polygon using Python

Question asked by ahsan_phy@hotmail.com on Dec 14, 2014
Latest reply on Feb 15, 2015 by dkwiens

I need a script that makes an envelope polygon feature class for the Hawaii.shp (Multi-part polygon) feature class. There is actually a tool that accomplishes this called Minimum Bounding Geometry. But i have to do it using python script which directly deals with the geometry properties. how can i do it, i have tried it without using any geometry property, but facing problem doing it though Geometry , Shape file is attached.

 

env.workspace = r"D:\Python Exercise\Exercise08-2014-12-05\Exercise08"

inFeatures = "Hawaii.shp"

outFeatureClass = "Hawaii_Profile.shp"

arcpy.MinimumBoundingGeometry_management(inFeatures, outFeatureClass, "ENVELOPE", "NONE")

Attachments

Outcomes