Populate a field with the Longitude or Latitude of a point (X/Y)

2157
1
01-21-2016 01:32 PM
deleted-user-0NSOMpMQeG6Y
New Contributor

Either through the Expression Builder or Calculate in the REST Service is it possible to populate a field with a points Longitude or Latitude?

0 Kudos
1 Reply
ChadKopplin
Occasional Contributor III

You should be able to, but you would have to have your data in a feature service for editing, because you could publish the  Add XY Coordinates tool in ArcToolBox>Data Management Tools>Features> Add XY Coordinates as a geoprocessing service in order to add the coordinate fields, this tool adds the fields and calculates their values.