Create a locator with streets that restores missing zones

The Create Locator geoprocessing tool allows you to build a locator that combines multiple reference data layers and locator roles to create a single multirole locator to search for multiple locations at once. Creating a multirole locator also allows you to restore missing attributes in the primary address data, such as city or state as in the case for United States Census TIGER Address Range Feature street centerlines data (addrfeat.shp). The TIGER Address Range Feature street data includes the full street name in a single field and the ZIP code in another field, so searching for an address will not return a match that includes the city or state. To include the city and state in the geocode results for street addresses and enhance searches for state highways, build a multirole locator consisting of Street Address, City, and State roles. The city and state attributes are restored from the polygon data for the City and State roles using spatial linking.

The diagram below shows how the roles used to build the locator described above are connected to the TIGER data and the minimal fields that should be mapped for each role. The City_Boundary layer is used as the reference data for the City role, and the value from the CITY_NAME field is restored in the geocode result when searching for a street address. The State_Boundary layer is used as the reference data for the State role and the value from the STATE field are restored in the geocode result when searching for a street address.

Diagram of data to build a locator that restores zones using spatial linking

Prepare streets data by splitting address field

The following workflow uses the Split Address Into Components tool to prepare the street data by splitting the full street name into individual components stored in multiple fields before building a multirole locator.

  1. On the Analysis tab in the Geoprocessing group, click the Tools button Tools.

    The Geoprocessing pane appears.

  2. Select the Split Address Into Components tool.
    1. In the Geoprocessing pane, click the Toolboxes tab.
    2. Click Geocoding Tools in the list of geoprocessing toolboxes.
    3. Click Data Preparation in the list of toolsets.
    4. Click the Split Address Into Components tool in the list of data preparation tools.
  3. In the Split Address Into Components tool pane, click the Country or Region drop-down, and choose United States.

    Select the country or region of the reference data to format if the data is outside of the United States.

  4. Select TIGER_Centerlines for the Input Address Data parameter.
  5. Select FULLNAME from the drop-down menu for the Input Address Fields parameter.
  6. Modify the Output Address Data parameter to rename the output data TIGER_CenterlinesSplit.
  7. Click Run Run.

Build multirole locator with spatial linking

Use the steps below to build the locator.

  1. Select the Create Locator tool.
    1. In the Geoprocessing pane, click the Toolboxes tab.
    2. Click Geocoding Tools in the list of geoprocessing toolboxes.
    3. Click the Create Locator tool in the list of geocoding tools.
  2. In the Create Locator tool pane, click the Role drop-down list, and choose the Street Address role.
  3. Click the Browse button next to the Primary Table(s) text box.
  4. Browse to the TIGER_CenterlinesSplit streets layer.
  5. In the Field Mapping portion of the tool, select the appropriate field from the Alias Name drop-down menu for each relevant field name in the Role: Street Address section to map the fields.
  6. Click the Role drop-down list, and choose the City role.
  7. Click the Browse button next to the Primary Table(s) text box.
  8. Browse to the City_Boundary polygon layer.
  9. In the Field Mapping portion of the tool, select the appropriate field from the Alias Name drop-down menu for each relevant field name in the Role: City section to map the fields.
  10. Click the Role drop-down list, and choose the State role.
  11. Click the Browse button next to the Primary Table(s) text box.
  12. Browse to the State_Boundary polygon layer.
  13. In the Field Mapping portion of the tool, select the appropriate field from the Alias Name drop-down menu for each relevant field name in the Role: State section to map the fields.
  14. Specify a name for the locator in the Output Locator parameter.
  15. Select English from the Language Code drop-down menu.
  16. Click Run Run.

The workflow above describes how to build a locator using TIGER centerline data that has missing administrative zones (city, state, neighborhood), but the steps can be applied to building a locator using data for any of the primary locator roles (Point Address, Street Address, Parcel, POI, Distance Marker, Distance Range) that are missing zones.

Access TIGER/Line shapefile data and TIGER/Line shapefile technical documentation.

Related topics