Pitney Bowes MapXtreme User Manual

Page 267

Advertising
background image

Chapter 13: Finding Locations

Fine Tuning the Find Process

MapXtreme v7.1

274

Developer Guide

In order for MapXtreme to know how to interpret a line, or set of lines, in the abbreviation file, you
have to precede the line with the keyword which indicates the appropriate interpretation strategy.

When all of the entries in the abbreviation file use the default interpretation, there is no need to
precede any of them with a keyword. When there is no keyword at the beginning of the abbreviation
file, MapXtreme will treat the initial entries as requiring the default interpretation. Once you add other
types of substitution pairs, however, you have to start adding keywords.

Space-delimited Substitution

Space-delimited simple substitution is the default. What that means is this: MapXtreme compares
spaced-delimited tokens in target addresses with the rows in the address file. A space-delimited
token is a string of characters with a space before and a space after. For example, MapXtreme will
match “Ave” with “Av” in “Park Ave” but it will not match “Avery Blvd” to “Avry Blvd.” Both street
names contain the string “Ave”. But that string is bordered by spaces only in “Park Ave”, not in
“Avery Blvd.” In “Avery Blvd”, “Ave” is followed by “r”, not by a space.

All of the entries in the abbreviation file will receive this default interpretation. You can add other
items to receive the same treatment. For example, you might want to add the pair “WK WALK” so
that MapXtreme knows to interpret “WK” in a target address as though it were “WALK”. Similarly, you
might want to add a pair such as: “WAY WY”.

Use the keyword “!SPACE” to indicate space-delimited simple substitution. Entries following
“!SPACE” are given the default interpretation (this allows you to arrange the Abb.file contents in
some other order). When MapXtreme encounters another keyword, it switches to the indicated
interpretation strategy.

Simple Truncation

In simple truncation, MapXtreme finds an item in the address and simply ignores it and everything
after it. These items do not have to be space-delimited. This strategy is useful for dealing with
addresses such as:

123 Appian Way, Mail Stop 829

7305 Van Zandt # 23

In the first case, you want MapXtreme to ignore the comma and everything after it. In the second
case you want MapXtreme to ignore the number sign and everything after it. To deal with such cases
add the following to your abbreviation file:

!EOLNOSPACE
,

Space-delimited simple substitution

!SPACE

Simple truncation

!EOLNOSPACE

Space-delimited truncation

!EOLSPACE

Simple substitution

!NOSPACE

Advertising