Input Fields

The following table provides information on the format and layout of GeocodeAddressWorld input.

Note: Specify input using the DataTable class. For more information, see the Spectrum Technology Platform API Guide.
Table 1. GeocodeAddressWorld Input Data

columnName

Format

Description

AddressLine1

String

The first address line. For example, 4360 DUKES RD:

4360 DUKES RD KALGOORLIE WA 6430

AddressLine2

String

The second address line of a two-line address. For example, Level 6 51 Jacobson St:

26 WELLINGTON ST E SUITE 500 TORONTO ON M5E 1S2

This field is not used in Australia, Austria, Belgium, Brazil, Denmark, Finland, France, Germany, Ireland, Italy, Liechtenstein, Luxembourg, Malaysia, The Netherlands, Poland, Portugal, Spain, Sweden, Switzerland, and Thailand.

City

String

The city or town name. Your input address should use the official city name. This will produce the best geocoding results.

For Thailand, this field contains the subdistrict (tambon).

County

String

The name of one of the following depending on the country:

  • Not used—AUT, BRA, CAN, FIN, GBR, MYS, PRT, SGP.
  • Department—FRA
  • District (amphoe)—THA
  • District (fylke/counties)—NOR
  • District (poviat)—POL
  • Kommun—SWE
  • Kreis—DEU
  • Local Government Authority (LGA)—AUS
  • Province—BEL, CHE, DNK, ESP, IRL, ITA, LIE, LUX, NLD
  • Region—NZL

FirmName

String

Company or name or place name. For example, Precisely.

Precisely 4360 DUKES RD KALGOORLIE WA 6430

LastLine

String

The last line of the address. For example, KALGOORLIE WA 6430:

4360 DUKES RD KALGOORLIE WA 6430

Locality

String

The name of one of the following depending on the country:

  • Not used—AUS, AUT, BEL, CHE, DEU, DNK, FIN, FRA, IRL, LIE, LUX, MYS, NLD, NOR, POL, SGP, SWE, THA
  • Dissemination Area and Enumeration Area (DA and EA)—CAN
  • Locality—BRA, GBR, ITA, PRT
  • Suburb—NZL

PostalCode

String

The postal code in the appropriate format for the country.

StateProvince

String

The name of one of the following depending on the country:

  • Not used—BEL, CHE, DNK, IRL, LIE, LUX, NLD, NOR, SGP
  • Bundesland—DEU
  • Province—CAN
  • Province (changwat)—THA
  • Province (voivodship)—POL
  • Region—AUT, ESP, FRA, GBR, NZL, PRT
  • Region (län)—FIN
  • Region (lan)—SWE
  • State—AUS, BRA
  • State (negeri)—MYS

Country

String

The two- or three-character ISO country code. This field is optional. If you omit the country, GeocodeAddressWorld returns the best available candidates based on the other input provided

For a list of ISO codes, see ISO Country Codes and Module Support.