POST
|
Why don't you give it a try? Creating a composite address locator—Help | ArcGIS for Desktop The composite address locator stores only references to the participating address locators and geocode services; it does not contain the actual address information, indexes, and data of the individual locators.
... View more
07-05-2017
11:43 PM
|
0
|
0
|
1542
|
POST
|
Joe... I've never experienced this bug, but as far I can find info about it Esri suggestion is to use Rebuild Address Locator gp tool. When you overwrite an existing service restarting is handled by AGS. Basically if your data source is not registered within AGS and you are trying to publish service based on that data then AGS needs to be able to use it. What happens then is described in here - Copying data to the server automatically when publishing. The advantage of having your DB and/or folders registered is that you are allowing AGS to have an access. In the other scenario AGS still needs that data in order to run your services and then copy all the necessary data. In other words you can update your registered data and the changes will be available in the service. More about it you can find here.
... View more
07-04-2017
11:24 PM
|
0
|
0
|
1542
|
POST
|
Hello @Blake Terhune, I would like to share the solution that works for me. So, I needed to publish composite address locator on AGS as a geocoding service and use it in AGOL as asset locator. My composite locator is created from several single field locators. I am doing this on AGS machine directly and I am using ArcMap. All versions are 10.3. The data source I am using to construct those locators is updated daily. To keep the search in AGOL up to date based on this service I must update it daily. The only solution for me was to find automated way. No manual operations. No custom code. My solution is: Create all the single field locators and combine them in composite one. Publish the composite locator as geocoding service on AGS. AGS copy all the data. At that point, my original locators become useless for me. So, I continued my work on a model in model builder with the locators copied on the server (Windows 2012 R2). The location you can find them is C:\arcgisserver\directories\arcgissystem\arcgisinput\<AGS Folder name>\<LocatorName.GeocodeServer>\extracted\v101. In the root of the folder I have the composite locator LOC and XML files. The folder contains also sub folders called 00, 01, 02 and so on depending how many simple locators participating in the composite one. In every one of those sub folders are located the simple locators’ files – LOC, XML and LOX. Download ArcGIS Server Administration Toolkit - 10.1+ containing tool that allows me to stop or start a service within a model. Create toolbox with 2 models inside. The first one is for stopping the geocoding service. The next one looks like this and it is intended to rebuild the simple locators and the to start the service. Note that I am not rebuilding the composite locator, because it is only a reference to the simple ones. I should mention some additional steps I did before compiling my models. I went to the AGS system directory (through ArcMap) checked the locators, and manually run rebuild function just to be sure everything is OK. I needed to make a change of the reference data location by pointing to the original GDB (registered in AGS). Export those 2 models as python scripts. Create a new task in Windows Task Scheduler that runs those 2 scripts daily. Let me know if this approach works for you as well.
... View more
07-04-2017
09:32 AM
|
0
|
4
|
1542
|
Online Status |
Offline
|
Date Last Visited |
a week ago
|