jswilkerson

PointGeometry returning incorrect coordinates

Discussion created by jswilkerson on Jul 1, 2011
Latest reply on Jul 1, 2011 by Dan_Patterson
I was working with adding a point to the PointGeometry object and noticed that when I accessed the points value afterward it now had a consistent shift in decimal values.  The code is:

import arcpy
point = arcpy.Point(2000, 1000)
ptGeometry = arcpy.PointGeometry(point)

print "New point is at Easting: " + str(ptGeometry.firstPoint.X)
print "  Northing: " + str(ptGeometry.firstPoint.Y)

And PythonWin is returning:
##>>> New point is at Easting: 2000.00012207
##  Northing: 1000.00012207

Outcomes