I am trying to update a points lat long. Instead of placing the point at LAT 50, LONG 50, it's updating the point to just barely off from 0,0 (0.0004492, 0.0004492). This works as expected on another machine. I suspect there is some spatial reference that needs to be set. How do I do that?
import arpy
inFeatures = <points layer location>
with arcpy.da.UpdateCursor(inFeatures, ["SHAPE@X","SHAPE@Y", "bhid"]) as cursor:
for row in cursor:
if row[2] == "1175":
print(row[0])
print(row[1])
row[0] = 50
row[1] = 50
cursor.updateRow(row)