Problem: "The address locator is damaged" message displays when working with a composite address locator containing many composite locators from StreetMap Premium data
When geocoding using a composite address locator that is comprised of composite address locators from StreetMap Premium and custom address locators, the following message displays:
The combined number of address locators participating in the main composite address locator is more than the documented limit. The maximum number of participating address locators in a composite locator is 30, but it is recommended not to use more than 10, otherwise geocoding may be significantly slower. For more information, refer to the following ArcGIS Help document: Creating a composite address locator
However, the error may still occur even if the total number of participating locators is less than 30, and this could be due to a memory issue.
Note: To improve memory performance, install the ArcGIS 10.3 (Desktop, Engine, Server) Geocoding General Maintenance patch or use ArcMap 10.4 or later versions.
Solution or Workaround
To build a composite address locator with multiple composite address locators for memory efficiency, follow the steps below:
- Publish all the country composite address locators to ArcGIS Server as geocode services. For more information, see the following document: Publishing a geocode service.
- Open the Create Composite Address Locator dialog box, and add the composite address locators that were published as geocode services from Step 1.
- Under the Field Map section, add a new input field by following the steps below:
- Click the Add button.
- In the Add Input Field dialog box, name the field CountryCode.
- Click OK.
- Under the Selection Criteria section, add a selection criteria for each composite address locator with the following definition:
"CountryCode" in ('US','U S','USA','U.S.','U S A','U.S.A.','U.S.A','United States','America','United States of America') OR "CountryCode" IS NULL OR TRIM(BOTH ' ' FROM "CountryCode") = ''. Click OK.
- Click OK to create the composite address locator. Publish the new composite address locator as a geocode service, or use the locator directly in ArcMap to geocode the addresses.