Specifying a preference for street name or P.O. Box - 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

When using multi-line or two-line addresses, you can specify which input address GeoStan uses for matching: a P.O. Box or a street address. Use the following to specify your address preference:

OS Which properties to use

C

Use the GS_PREFER_STREET or GS_PREFER_POBOX properties of GsFindWithProps.

COBOL

Use the GS_PREFER_STREET or GS_PREFER_POBOX properties of GSFINDWP.

JAVA

Use the FIND_PREFER_STREET or FIND_PREFER_POBOX properties of FindProps.

.NET

Use GS_FIND_PREFER_STREET or GS_FIND_PREFER_POBOX properties of FindProps.

If GeoStan cannot match to the preferred address, it tries to match to the alternative address.

The following example uses the C Language.

If you set the GS_FIND_PREFER_POBOX find property used with GsFindWithProps, and the input address is

123 Main St

(GS_ADDRLINE)

P.O. Box 24

(GS_ADDR2)

GeoStan first attempts to match to P.O. Box 24. If GeoStan cannot find a match, it then attempts to match to 123 Main St.

Note: GeoStan ignores the address preference if processing in CASS mode.

If you do not specify a preference for a P.O. Box or street address, GeoStan attempts to match to the first address line it receives as input. For more information, see Forcing an exact match on specific address elements.