English

How To: Add a custom highway to the address locator style

Summary

The instructions provided describe how to modify the 'US Address' address locator style and add a custom highway to the PREFIX_TYPE section of the grammar. This is useful for abbreviating the names of state routes, highways, or non-standard highways used when searching for an address.

The new prefix type abbreviation for the highway can be used in the reference data for the PreType or PREFIX_TYPE fields, and the highway number can be represented in the STREET_NAME field if both address components in the street name field are not maintained.

Procedure

Warning:
Prior to modifying the file, make a copy of the USAddress.lot.xml and ensure the user has 'write' permissions for the Locators folder where the address locator templates are stored.


Note:
Due to Windows Dynamic Access Control settings, it may be necessary to copy the USAddress.lot.xml file to a different folder for editing and copy the file back to the original location when finished. Notepad++ is an example of a text editor that can be used to modify the XML file.

  1. Open the USAddress.lot.xml in a text or XML editor. The file is found in the following location:

    Code:
    C:\Program Files (x86)\ArcGIS\Desktop10.x\Locators


    Note:
    Substitute '"0.x" in the address above to match the version of ArcMap.

    The path for ArcGIS Pro is as follows:

    Code:
    C:\Program Files\ArcGIS\Pro\Resources\Locators

  2. Navigate to '...Prefix types and their aliases', and add the following changes in alphabetical order.

    Code:
    <def name="_BIA" is_alias_list="true">
    <alt>Bureau of Indian Affairs</alt>
    <alt>BIA</alt>
    </def>
    <def name="_BIAhwy" is_alias_list="true">
    <alt>
    <elt ref="_BIA"/>
    <elt ref="_hwy/>
    </alt>
    <alt>BIAHY</alt>
    <alt>BIA HWY</alt>
    </def>


    [O-Image] BIA1 - Prefix type section
  3. Navigate to the 'pre_type_no_sthwy' definition section, and add the following to the existing list in alphabetical order.

    Code:
    <alt ref="_BIA"/>
    <alt ref="_BIAhwy"/>


    [O-Image] BIA2 - Prefix type no state hwy section
  4. Navigate to the "pre_type_sthwy" definition section, and add the following to the existing list in alphabetical order.

    Code:
    <alt ref="_BIA"/>
    <alt ref="_BIAhwy"/>


    [O-Image] BIA3 - Prefix type state hwy section
  5. Save the changes.
  6. Create a new address locator.

Related Information