When you create an address locator, you have the option to use alternate names and place-name aliases. Place-name aliases allow you to associate names of well-known places with street addresses—for example, the names of museums, hospitals, or landmarks. When geocoding an address, the place-name alias table is consulted first. If a place-name is found, the street address from the place-name alias table is geocoded. Similarly, alternate names can be defined for features, such as streets or cities, in the reference data. When geocoding an address, the alternate name table is also searched to find potential candidates where streets or cities have more than one name.
Get the data
The data for this tutorial is available for download on arcgis.com.
- Go to the item description web page of the geocoding tutorial data on arcgis.com.
- Click Open > Download, and save the file locally.
- Unzip the downloaded file.
Create an address locator that uses alternate names and place-name aliases
In this task, you'll create a new address locator that uses alternate street names and place-name aliases. You'll then use it in ArcMap to find addresses.
- In ArcCatalog, browse to the Geocoding folder containing the Atlanta geodatabase.
- Right-click in the empty space of the Contents tab inside the Geocoding folder, and click New > Address Locator.
The Create Address Locator dialog box appears.
- On the Create Address Locator dialog box, click the Browse button next to the Address Locator Style text box.
The Select Address Locator Style dialog box appears.
- Choose the US Address - Dual Ranges address style.
- Click OK.
- Click the Browse button next to the Reference Data text box to open the Reference Data dialog box.
- Browse to the Atlanta file geodatabase, choose the streets feature class, and click Add.
- On the Create Address Locator dialog box, click the arrow under the Role column heading and choose Primary Table.
- Repeat steps 6 and 7, but this time browse to and add the altname table in the Atlanta geodatabase.
- Click the arrow under the Role column heading for the altname table and choose Alternate Name Table.
- The Field Map section should be completed automatically. If not, select the appropriate field in the reference data for each field. It is essential that the JoinID fields for the Primary Table and Alternate Name Table are mapped properly; if they aren't, follow these substeps:
- Click the arrow under the Alias Name column heading for the Primary Table:Altname JoinID field and choose streets:JOINID.
- Click the arrow for the Alternate Name Table:JoinID field and choose altname:JOINID.
The JOINID field in the altname table and the JOINID field in the streets feature class are used to relate the records in the altname table to the records in the streets feature class.
- Repeat steps 6 and 7, but this time browse to and add the altcity table in the Atlanta geodatabase.
- Click the arrow under the Role column heading for the altname table and choose Alternate City Name Table.
- The Field Map section should be completed automatically. If not, select the appropriate field in the reference data for each field. It is essential that the JoinID fields for the Primary Table and Alternate City Name Table are mapped properly; if they aren't, follow these substeps:
- Click the arrow under the Alias Name column heading for the Primary Table:City Altname JoinID field and choose streets:JOINID.
- Click the arrow for the Alternate City Name Table:JoinID field and choose altcity:CITYID.
The CITYID field in the altcity table and the CITYID field in the streets feature class are used to relate the records in the altcity table to the records in the streets feature class.
- Repeat steps 6 and 7, but this time browse to and add the place_aliases table in the Atlanta geodatabase.
- Click the arrow under the Role column heading for the place_aliases table and choose Alias Table.
- The field mapping for the place_aliases table should be completed automatically. If not, select the appropriate field in the reference data for each address locator field. For the field named Alias Table:Alias, click the arrow under the Alias Name column heading and choose place_aliases:NAME. This is the field that contains the names of the places you can use to geocode.
- Click the Browse button next to the Output Address Locator text box.
The Output Address Locator dialog box appears.
- Browse to the Geocoding folder containing the Atlanta geodatabase, type Atlanta_AltName as the address locator name, and click Save to accept the change and close the dialog box.
- Click OK to start the process of creating the address locator.
When the process finishes, the new Atlanta_AltName address locator appears in the Geocoding folder alongside the Atlanta file geodatabase.
- Close ArcCatalog.
Find locations using alternate street names, alternate city names, and place-name aliases
In this task, you'll use the Atlanta_AltName locator you just created to find addresses.
- Open a new map document in ArcMap.
- Add the streets feature class from the Atlanta geodatabase to your map.
- Click the Find button on the Tools toolbar.
- On the Find dialog box, click the Locations tab.
- Click the Browse button next to the Choose an address locator drop-down box.
The Add Locator dialog box opens.
- Browse to the Geocoding folder, choose the Atlanta_AltName locator, and click Add.
- Type 30 Old 10th St NE Atlanta in the Full Address text box and click Find to search for candidates.
- Right-click the candidate in the candidate list and click Add Point.
A graphic point representing the address's location appears on the map.
- Type 30 Atlanta Blvd Atlanta in the Full Address text box and click Find to search for candidates.
- Right-click the found candidate and click Flash.
You can see that both addresses are matched to the same location on the map.
- Type 192 Little John Trl NE, Atlanta in the Full Address text box and click Find to search for candidates.
- Right-click the candidate in the candidate list and click Add Point.
A graphic point representing the address's location appears on the map.
- Type 192 Little John Trl NE, Sherwood Forest in the Full Address text box and click Find to search for candidates.
- Right-click the found candidate and click Flash.
You can see that both addresses are matched to the same location on the map.
- Type Atlanta Market in the Full Address text box and click Find to search for candidates.
- Right-click the first found candidate and click Add Point.
The location of the hospital appears on the map as if you had typed its complete address.
- Click Cancel to close the Find dialog box.
Creating locators that use alternate names and place-name aliases is beneficial for people who know a landmark's name but not its address. It also helps in situations where a street or feature has more than one name.