Select to view content in your preferred language

edit coordinate fields in a layer?

197
4
11-14-2024 12:42 PM
Ken-Middleton
Occasional Contributor

Although I am able to change longitude/latitude fields either in a popup or in a table in Map Viewer, doing so does not change the point on the map. It remains at the same location before editing the fields.  I know that some fields are not editable, but why would the system accept my edits and not have the changes reflected on the map? Is there something in the workflow that I am missing?

 

0 Kudos
4 Replies
ChristopherCounsell
MVP Regular Contributor

Geometry is stored within the layer. You won't see coordinates in the attribute table.

If you have coordinates in the attribute table, it's likely that they came from earlier e.g. uploading a CSV with X Y coordinates. They would be used to create the point, not removed from the table, and then not updated.

Some web applications will add X and y coordinates to exports e.g. experience builder.

If you want to see the coordinates in the pop-up you can use Arcade to return the geometry:

https://support.esri.com/en-us/knowledge-base/how-to-display-xy-values-in-arcgis-online-map-viewer-p...

You could also use this to dynamically update the points coordinates attributes with Forms. E.g. move point, arcade calculates field as X. However this won't work the other way (change attribute doesn't move the point) and I don't recommend it as you can end up with points in different locations to the coordinate attributes.

Ken-Middleton
Occasional Contributor

Thanks for this. Very helpful. We were uploading CVS with coordinates. I now have a better understanding. 

EmilyGeo
Esri Contributor

Hi @Ken-Middleton

Yes, and, if you are looking for a way to place or move a (single) point based on coordinates in Map Viewer, you can do so using Tooltips. See this article for more: https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/map-a-point-tooltips/

Ken-Middleton
Occasional Contributor

Thanks for this suggestion. I'll give Tooltips a try.

0 Kudos