AnsweredAssumed Answered

Composite Locator Stalling on ArcMap and Runtime SDK for .Net

Question asked by WMELEE on Sep 8, 2014

I am experiencing some issues that are not suppose to happen as stated in the help, ArcGIS Help (10.2, 10.2.1, and 10.2.2).

When a single line address query contains a street name and an address name, the geocoding method will search through both address and road locators. The composite locator is arranged in the order, 1) address 2) road.

 

Using the same composite locator, I tested it on ArcMap 10.2.2 and VS 2013 Premium. It constantly crashes ArcMap and VS just seems to run forever. I tested once on Visual studio to check whether it is running or has stalled. For 10 mins, the LocalLocatorTask.GeocodeAsync() is running before an exception is thrown.

 

After the above test, I removed the road locator from the composite locator, rebuild it and the geocoding process is back to normal, return results in 1 second.


How can the composite locator be configured in ArcMap to stop geocoding if the first locator is able to return some results?

Outcomes