How to update a locator geocoding service published in from ArcMap to ArcGIS Server

807
2
12-01-2022 05:01 AM
Labels (3)
ABishop
MVP Regular Contributor

Hello,

What is the best method to updating locators that have been published as services?  We have ArcMap 10.8.2 and ArcGIS Server 10.8, and do not have portal yet, so I could not share the locator as a service through ArcGIS Pro.  I published the service from ArcMap to our ArcGIS Server.  I copied REST endpoint URL to add to our Geocoding services through AGOL admin settings.  After confirming that the locator service worked, I attempted to rebuild the locator in ArcMap, which is the source of the published service, and I received this error:

ABishop_0-1669814664115.png

If there is a trick to rebuilding this locator while published as a service, please enlighten me.

Thank you in advance for any assistance.

Amanda

Amanda Bishop, GISP
0 Kudos
2 Replies
Jen_Zumbado-Hannibal
Occasional Contributor

Sorry for the late reply but this might help you or at least give you some pointers. 

Outside the community: 

https://www.spatialtimes.com/2019/09/python-script-to-overwrite-existing-service-in-arcgis-server/

 

Community Post:

https://community.esri.com/t5/python-questions/how-to-published-mxd-to-overwrite-existing-service/td...

 

This is for use in ArcPro but it may help guide you. 

https://www.arcgis.com/home/item.html?id=54e8aab14f6e4c61b65b9dd9ab451503

Jen Zumbado-Hannibal, GISP
GIS Coordinator
City of Forest Grove
Forest Grove, OR 97116

0 Kudos
ShanaBritt
Esri Regular Contributor

Amanda:

You would have to stop the service before rebuilding the locator in ArcMap. If you are using ArcGIS Pro 3.0 or later, you would not be able to add the locators created in ArcMap with the Create Address Locator tool to publish them from ArcGIS Pro. However, if you have locators built with the Create Locator tool in ArcGIS Pro you an publish it to your standalone Enterprise 10.8 server using the steps described in the following topic, https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/publish-a-geocode-service.htm. This service can be used in ArcMap through and ArcGIS Server Connection.

The following topic is for ArcGIS Pro, but the same concept can be applied to ArcMap. https://pro.arcgis.com/en/pro-app/3.1/help/data/geocoding/keep-your-locator-up-to-date.htm

0 Kudos