vanjay011379

Extract coordinates from points

Discussion created by vanjay011379 on Mar 9, 2011
Latest reply on Mar 9, 2011 by Dan_Patterson
Hello,

How do I extract the x and y coordinates from a point feature.

I have the following code but it doesn't execute.

myDescription = arcpy.Describe(strInputFeatureClass)
myFeature = myCurTravelFeature.GetValue(myDescription.ShapeFieldName)
point = myFeature.getPart(0)
print point.x
print point.y

Outcomes