HOW TO

Modify the geocoding intersection delimiters

Last Published: April 25, 2020

Summary

The ArcView geocoder expects an ampersand (&) to be used when geocoding street intersections.

Procedure

You can make adjustments to the intersection delimiter using several methods. How far along you are in your project will determine which method you use.

  • Edit addstyle.db file.

    If the geocoding base dataset has already been created, but the geocoding index has not been built, you can change the intersection delimiter by editing the addstyle.db file. The following example shows how to change the intersection delimiter from an ampersand to a slash for the 'US Streets' address style.

    1. Make a back up of the ..\esri\av_gis30\arcview\geocode\addstyle.db file.

    2. Open the addstyle.db file in a text editor.

    3. Locate the address style that you wish to modify. For example, search for "US Streets". You should find the following.

    (AddStyle.32
    Name: "US Streets"
    StanRules: "us_addr.stn"
    MatchRules: "us_addr2.mat"
    MQueryList: 33
    MQueryList: 34
    MFieldList: 35
    ...
    MFieldList: 43
    MIndexList: 44
    MIndexList: 45
    IntStanRules: "us_intsc.stn"
    IntMatchRules: "us_intsc.mat"
    IntQueryList: 46
    IntQueryList: 47
    IntFieldList: 48
    ...
    IntFieldList: 57
    IntIndexList: 44
    MaxScore: 0x8ee
    IntMaxScore: 0xe7a
    IntDelimit: " & "
    DefSqueeze: 5.00000000000000
    )


    4. Find the "IntDelimit" entry.

    IntDelimit:	" & "

    5. Substitute the ampersand with the intersection delimiter of choice.

    IntDelimit:	" \ "

    6. Save the addstyle.db file.

    Note:
    Changing the intersection delimiter for 'US Streets' address style will not affect 'US Streets with Zone' address style. You will have to edit each address style to show the new intersection delimiter.

  • Edit MXC/MXS File

    If the geocoding base theme has already been made matchable, but you have not yet added that dataset to your new view, you can edit the MXC/MXS file. Once the data source being used for the base theme is made matchable, the IntDelimit property is copied into the MXC file (for coverages) or the MXS file (for shapefiles). You can change the character used for the intersection delimiter by editing the IntDelimit property in the MXC/MXS file. The MXC/MXS file is located in the directory where the geocoding base theme resides. For example, covername.mxc or shapename.mxs.

    1. Make a back up of the MXC/MXC file.

    2. Open the MXS/MXC file in a text editor.

    3. Find the "IntDelimit" entry

    IntDelimit:	" & " 

    4. Substitute the & with the intersection delimter of choice.

    IntDelimit:	" \ " 

    5. Save the MXS/MXC file.

    Note:
    Editing the MXC/MXS file will not affect the current matchable theme nor previously created matchable themes, nor previously created geocoded point shapefile themes, but it will affect all future themes that use this dataset as the matchable base theme.

  • Edit project file matchable theme

    If the geocoding base theme has already been made matchable and you have already added that dataset to your view, you can edit the IntDelimit property in the project file for the matchable theme.

    1. Open the project in a text editor.

    2. Search for the string "Msrc". You should find the following.

    (MSrc.83
    FSrc: 42
    RefVTab: 46
    MTab: 84
    MaxScore: 0x8ee
    IntMaxScore: 0xe7a
    IntDelimit: " & "
    DefSqueeze: 5.00000000000000
    )

    3. Find the "IntDelimit" entry

    IntDelimit:	" & " 

    4. Substitute the & with the intersection delimiter of choice.

    IntDelimit:	" \ " 

    5. Save the project file.

    Note:
    This change will not affect the re-matching of any previously created geocoded point themes, but it will affect all future geocoding with this theme.

Article ID:000003740

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic