Updating Shape Field from Lat/Long Fields

7845
13
Jump to solution
12-19-2017 07:31 PM
JoelThomas
Emerging Contributor

I'm trying to update the SHAPE field of some points by using field calculator to update the SHAPE field based on X, Y fields in the attribute table. Can this be done? I'm trying the below calculation, and the points are changing location, but not to a location that is near either the X, Y fields I'm asking it to. I'm not sure where I'm going wrong here.

Tags (1)
0 Kudos
13 Replies
RyanBohan
Frequent Contributor

Got it working! This will be a huge time saver for shifting assets.  Thank you everyone.

Adding a screenshot of my code updated for ArcGIS Pro 2.9.5

RyanBohan_0-1690387582096.png

 

Krocha
by
Regular Contributor

This code made my feature disappear from the map. It succeeded to run but don't know why it disappeared.

0 Kudos
Alex_Zhuk
New Contributor

Thanks a lot! This was exactly what I needed to adjust my 2,600 points.

TomReyes
Occasional Contributor

Thanks for the help, I got this to work for me!

This does not seem to work if you have "Enable Undo" enabled. It worked great once I turned that off.