sCur = arcpy.SearchCursor("boundingbox1", "", "CCS_WGS_1984") ... for row in sCur: ... geom = row.shape ... ext = geom.extent # or row.Shape.extent ... print "Extent of feature:\nXMin: %f, YMin: %f, \nXMax: %f, YMax: %f" % \ ... (ext.XMin,ext.YMin,ext.XMax,ext.YMax)
Solved! Go to Solution.
sCur = arcpy.SearchCursor("boundingbox1", "", 4326) for row in sCur: geom = row.shape ext = geom.extent # or row.Shape.extent print "Extent of feature:\nXMin: %f, YMin: %f, \nXMax: %f, YMax: %f" % (ext.XMin,ext.YMin,ext.XMax,ext.YMax)
sCur = arcpy.SearchCursor("boundingbox1", "", 4326) for row in sCur: geom = row.shape ext = geom.extent # or row.Shape.extent print "Extent of feature:\nXMin: %f, YMin: %f, \nXMax: %f, YMax: %f" % (ext.XMin,ext.YMin,ext.XMax,ext.YMax)