How To: Match addresses with ampersands in the street name
This article describes how to modify the USAddress.lot.xml file to find addresses that contain ampersands in the street name. This method uses an address locator that was created using one of the US Address address locator styles (US Address—Dual Ranges, US Address—One Range, US Address—Single House, US Address—Street Name).
Make a copy of the USAddress.lot.xml prior to modifying the file.
Make sure to have write permissions to the Locators folder where the address locator templates are stored.
Notepad++ is an example of a text editor that can be used to modify the XML file.
- Open the USAddress.lot.xml in a text or XML editor. This file is found in the following location:
C:\Program Files (x86)\ArcGIS\Desktop10.x\Locators
Substitute '10.x' in the address above to match the version of ArcMap in use.
- Scroll down or search for the comment 'This section defines basic elements for address parameters like optional Hyphens, Decimals, numbers, alphabets, Latin Characters, unit junks, separators etc.'
- Modify the basic element definition for 'word' to remove the ampersand symbol from being excluded.
- Save the edits.
- Create a new address locator using any of the US Address locator styles, and use the resulting address locator to find addresses where there are ampersands in the street name.