Preferring a ZIP Code over a city - geostan_1 - 2024.01

GeoStan Geocoding Suite Reference for Windows, Linux, and z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > GeoStan
Version
2024.01
Language
English
Product name
GeoStan
Title
GeoStan Geocoding Suite Reference for Windows, Linux, and z/OS
Copyright
2024
First publish date
1994
Last updated
2024-07-29
Published on
2024-07-29T23:01:18.924000

The GS_FIND_PREFER_ZIP_OVER_CITY property allows a user to prefer candidates that match to the input ZIP Code over candidates that match to the input city. GeoStan creates multiple search areas when the input city and ZIP Code do not correspond and this feature helps establish how the candidates should be scored.

Note: GeoStan ignores the ZIP Code over city preference if processing in Interactive or CASS modes.

When there is more than one candidate in the input ZIP Code, some attempt is made to alleviate multiple candidates for a match, or, where all the candidates get the same lastline score. If a candidate also matches the city and/or preferred city, that candidate gets a better score. Matching to just preferred city is a lesser score than matching both.

For example:

Input Address: 24 GLEN HAVEN RD

Input Last Line: NEW HAVEN CT 06513

Found:

24 GLEN HAVEN RD
NEW HAVEN, CT  06513-1105

Possible candidates:

                                        score         pref.last line city
2 98    GLEN HAVEN RD   06513-1105 S    0.8100000     NEW HAVEN    * best match
24 98   GLEN HAVEN RD   06513-1248 S    2.2500000     EAST HAVEN
16 66   GLEN RD         06511-2825 S    46.3925000    NEW HAVEN
2 86    GLEN PKWY       06517-1415 S    52.1525000    HAMDEN
2 28    GLEN RD         06516-6509 S    52.1525000    WEST HAVEN
2 98    GLENHAM RD      06518-2517 S    75.0100000    HAMDEN
2 72    GLEN VIEW TER   06515-1519 S    97.0900000    NEW HAVEN

When there is more than one candidate, candidates matching the input ZIP Code score better.

Input Address: 301 BRYANT ST

Input Last Line: SAN FRANCISCO CA  94301

Found:

301 BRYANT ST
PALO ALTO, CA  94301-1408

Possible candidates:

                                        score        pref.last line city
301 301    BRYANT ST    94301-1408 S    3.2400000    PALO ALTO * ZIP preferred match
301 305    BRYANT CT    94301-1401 S    28.2400000   PALO ALTO
300 306    BRYANT CT    94301-00ND T    35.6600000   PALO ALTO
301 301    BRYANT ST    94107-4167 H    39.6900000   SAN FRANCISCO * default match
301 319    BRYANT ST    94107-1406 S    39.6900000   SAN FRANCISCO

When there is more than one candidate, candidates that match the ZIP Code search area score better. The ZIP Code search area is the finance area for the input ZIP Code.

This example is with GS_FIND_SEARCH_AREA set to FINANCE. With GS_FIND_SEARCH_AREA set to CITY the match is made to EAST AURORA 14052 as there is no candidate in the 14166 input ZIP Code.

Input Address:  100 MAIN ST

Input Last Line:  EAST AURORA NY 14166

Found:

100 MAIN ST

DUNKIRK, NY  14048-1844

Possible candidates:

score    pref.last line city
100 198    MAIN ST    14048-1844  S    3.2400000    DUNKIRK * same finance as input 
ZIP 14166
100 168    MAIN ST    14052-1633 S    39.6900000    EAST AURORA

This example is with GS_FIND_SEARCH_AREA set to 0 (CITY).

Input Address:  4200 arapahoe

Input Last Line:  denver co 80301

Found:

4200 ARAPAHOE AVE
BOULDER, CO  80303-1164

Possible candidates:

 score   pref.last line city
4200 4210    ARAPAHOE AVE    80303-1164 S    38.7400000    BOULDER *same city as
input ZIP 80301
4200 4210    ARAPAHOE RD    80303-1164 S    40.7000000    BOULDER (A06)
4200 4298    E ARAPAHOE PL    80122-00ND T    62.0900000    LITTLETON
4200 4498    E ARAPAHOE RD    80122-00ND T    62.0900000    LITTLETON
4181 4499    E ARAPAHOE RD    80122-00ND T    68.3400000    LITTLETON