Select to view content in your preferred language

Updating Spatial reference when Overwriting a feature service

728
4
01-08-2025 08:36 PM
Labels (1)
LindsayRaabe_FPCWA
MVP Regular Contributor

Hi Brains trust. I've been experimenting and was hoping to get confirmation from those in-the-know. 

If have a Feature Service in ArcGIS Online which for example uses WGS 84 Web Mercator aux sphere (WKID 102100/3857) and (via Pro) you overwrite this with a new version that uses a different spatial reference (e.g. GDA94 (WKID 4283)), it appears that the spatial reference updates ok. 

HOWEVER, if that layer has hosted views, it doesn't appear that those update to reflect those changes (at least, not according to the JSON when viewed through the Service URL). 

 

LindsayRaabe_FPCWA_2-1736396976705.png

In ArcGIS Pro, the layers both show up as using the updated spatial reference.

LindsayRaabe_FPCWA_4-1736397222688.png

Is this a problem? Is this something that can be done and the differences in the JSON ignored? Or is it (as I suspect) going to cause me headaches down the track?

Lindsay Raabe
GIS Officer
Forest Products Commission WA
4 Replies
LindsayRaabe_FPCWA
MVP Regular Contributor

Well, so far it all seems to be happy enough with the updated coordinate systems. Views still showing the original in ArcGIS Online's metadata, but they display correctly when loaded into Pro so thats what matters. 

Lindsay Raabe
GIS Officer
Forest Products Commission WA
0 Kudos
mross57
Emerging Contributor

I am having the same issue! Except I am trying to use the view in a web app, not Pro, and it is identifying the incorrect WKID for the view... I think when the view is created, the service settings are established (such as default symbology and extent and WKID) and even if the underlying service is modified, the view service settings remain untouched until the view is totally recreated, likely by design unfortunately. I will open an Esri support ticket and investigate then report back.

0 Kudos
DNVT
by
Occasional Contributor

I am experiencing the same issue, do either of you have an update?  I also notice the views Initial and Full Extent do not update to the overwritten information as well. I tried using ArcGIS Online Assistant to update the Spatial Reference code in the JSON, that update was not reflect in the ArcGIS REST Services Directory for the view. I also tried to "Update Definition" in the ArcGIS REST Services Directory Admin page with no success. I would hate to have to recreate the view and repoint my maps/apps to said new view.

0 Kudos
mross57
Emerging Contributor

I logged a bug with Esri Support - https://my.esri.com/#/support/bugs/bugs?bugNumber=BUG-000181599

I was assured that the rest api shows one WKID, while in reality the data is in what is shown in the new one (what is shown when adding the layer to Pro). So the spatial reference is updated while the REST API is wrong.