Select to view content in your preferred language

Updating Coordinates on Webmap

923
6
Jump to solution
02-18-2025 12:16 PM
LilyMaddox
Emerging Contributor

Hello! I've recently had a problem where I incorrectly exported my coordinates from my geoapfiy, and many of my points showed up in incorrect positions on my webmap. I'd already submitted the webmap when I noticed, so I now need to be able to update these coordinates without accidentally altering the webmap url that I had submitted. I went into the Edit Feature mode in the webmap and manually edited the fields, but this doesn't seem to change the actual point locations. Does anyone know how to do this without manually resnapping each point?

0 Kudos
1 Solution

Accepted Solutions
JasonBennett
Regular Contributor

I'm not sure. There are several URLs that point to the same location, such having the URL with your company name in it or not as well as short URLs. Also, the URL changes if you are looking at the Map Viewer or the Classic Map but it really doesn't matter because each URL will get you to the same map.

For example, here is a public map in several URLs:

https://ccsi-networks.maps.arcgis.com/apps/mapviewer/index.html?webmap=a69f14ea2e784e019f4a4b6835ffd...

 

https://www.arcgis.com/apps/mapviewer/index.html?webmap=a69f14ea2e784e019f4a4b6835ffd376

https://www.arcgis.com/home/webmap/viewer.html?&webmap=a69f14ea2e784e019f4a4b6835ffd376

All of these URLs will point to the same map with the same data. The important part of the URL is the ID, that 32-character string at the end of the URL.

All of that to say, I don't think you need to worry about the map URL changing. In my normal workflow, I build web maps slowly over time. I share the URL to the map with stakeholders right away and continuously add new layers as new data becomes available.

View solution in original post

6 Replies
JasonBennett
Regular Contributor

Hi Lily,

I'm not sure how you created your map. Perhaps you can provide more details? Can you access the points layer via ArcGIS Pro?

If I created a feature layer with incorrect point geometry but I had access to the correct coordinates via fields in the same feature, I would use the XY Table To Point geoprocessing tool in ArcGIS Pro to create a new feature class using those coordinates.

Then I would share the new feature class as a web layer by overwriting the existing web layer, which would preserve your URL to the hosted feature layer.

JasonBennett_0-1739990161063.png

 

0 Kudos
LilyMaddox
Emerging Contributor

Hi Jason,

Thank you for your response. I'm happy to provide as much detail as I can, and please let me know if I'm missing something. I've attached my original CSV, as well as the one I actually uploaded into AGOL as a Hosted Feature Service. Because there were fields with multiple responses, I had to do a Boolean transformation for the new CSV, which made everything a bit messy on my AGOL. Each layer I have on my map corresponds to one field in that transformed sheet. On the original sheet, I've corrected the coordinates, but I haven't touched the transformed one yet in case I could mess something up. It's most important that I don't accidentally change the sharing link on the AGOL map, and I've been stumped on how I can fix the coordinates without doing so. I haven't used Pro yet, and I'm a little nervous to on this, but if that's how I can correct this issue on the AGOL, I'm happy to try it. Please let me know if there's any other information you need as I'm not sure how helpful any of that was. Thank you for your help!

0 Kudos
JasonBennett
Regular Contributor

What URL are you sharing? The URL to the map or the URL to the Feature Service?

It sounds like you've shared the URL to the map. That means you can remove and add layers to that map as much as you want without changing the URL.

JasonBennett_1-1740156414458.png

I would remove the layer with the incorrect points from the map (this does not delete it from your portal so you can get it back if you need to). Then create a new layer using the corrected CSV. Add the new layer as a file like in this image:

JasonBennett_0-1740156236365.png


This may be the way you added the layers originally. Just follow the steps and make sure the correct fields are used when it prompts for lat/long or addresses.

Let me know if this makes sense or I am misunderstanding your issue.

LilyMaddox
Emerging Contributor

Oh, that's great news, thank you! Yes, I had copied the entire webmap url from my address bar. Would you happen to know why the link has changed in the past when I've added/updated layers?

0 Kudos
JasonBennett
Regular Contributor

I'm not sure. There are several URLs that point to the same location, such having the URL with your company name in it or not as well as short URLs. Also, the URL changes if you are looking at the Map Viewer or the Classic Map but it really doesn't matter because each URL will get you to the same map.

For example, here is a public map in several URLs:

https://ccsi-networks.maps.arcgis.com/apps/mapviewer/index.html?webmap=a69f14ea2e784e019f4a4b6835ffd...

 

https://www.arcgis.com/apps/mapviewer/index.html?webmap=a69f14ea2e784e019f4a4b6835ffd376

https://www.arcgis.com/home/webmap/viewer.html?&webmap=a69f14ea2e784e019f4a4b6835ffd376

All of these URLs will point to the same map with the same data. The important part of the URL is the ID, that 32-character string at the end of the URL.

All of that to say, I don't think you need to worry about the map URL changing. In my normal workflow, I build web maps slowly over time. I share the URL to the map with stakeholders right away and continuously add new layers as new data becomes available.

LilyMaddox
Emerging Contributor

Thank you for your help on this!