Address geocoding accepts an address and returns 1 or more addresses.
GeocodeAddress
method returns the single best matchGeocodeAllMatches
method returns all matches above the minimum score requested, up to the requested match count (matchCount
)AFC Geo SaaS Pro Soap supports geocoding for the United States, Puerto Rico, and other US territory addresses. Addresses or latitude/longitude coordinate pairs in foreign countries (including Canada and Mexico) are not supported and don’t return results.
An address is made up of several parts:
StreetAddress
: First line of address (for example, "255 South King St")SecondaryUnit
: Second line of address, but not used in the geocoding process (for example, "Suite 1200")CityStateZip
: Combined city, state, and Zip code (for example, "Seattle, WA 98104")City
: City name (for example, "Seattle")State
: State abbreviation (for example, "WA")Zip
: Zip code (for example, "98104")The CityStateZip
is used in place of the individual City
, State
, and Zip
fields. Pick the approach that works best for you.
See Best Practices for additional guidance when setting up an input address.
The input address (inputAddress
) is used to look up candidate locations within the street database. Some fields, such as StreetAddress
and City
, don’t require a strict match to produce a candidate. For example, “1 Renee Street” matches “1 Rena Street”. A street with an alternate name (alias) in the database is considered as a candidate as well.
The street number is matched against the address ranges supplied in the vendor’s street database. A single street is represented in the street database as a chain of segments called a street link. A link is:
StreetAddress
), city (City
), state (State
), and Zip code (Zip
)) is used firstMinimumScore
StreetAddress
) and zip code (Zip
) are used next if no location is found with a score above MinimumScore
StreetAddress
), city (City
), and state (State
) are geocoded last if a location still isn't returned with with a score above MinimumScore