Input Fields

For Canada, GeocodeAddressGlobal takes a street address , PO Box or intersection as input. To obtain the best performance and the most possible matches, your input address lists should be as complete as possible, free of misspellings and incomplete addresses, and as close to postal authority standards as possible. Most postal authorities have websites that contain information about address standards for their particular country.

The following table lists the input fields used for geocoding locations in Canada.

AddressLine1

For most countries, the AddressLine1 field should contain the address line that has the street name and building number and/or PO Box in it.

This field can also contain the full address. For more information, see Single Line Input.

Addresses in CAN, FRA and GBR containing PO Box information in place of, or in addition to, street address can be geocoded.

For all countries except Argentina, Great Britain, and Japan, this field can contain a street intersection. To specify a street intersection, use double ampersand (&&) to separate the streets. For more information, see Street Intersection Input.

Table 1. Input Fields for Canada

columnName

Description

AddressLine1

One of the following:

  • The address line containing the street name and building number or PO Box or both. For example:

    330 Main St
    Toronto ON  M1B 3V4

  • This field can also contain the full address. For more information, see Single Line Input
  • For all countries except Argentina, Great Britain, and Japan, this field can contain a street intersection. To specify a street intersection, use double ampersand (&&) to separate the streets. For more information, see Street Intersection Input.

AddressLine2

The second address line of a two-line address. For example:

26 WELLINGTON ST E
SUITE 500
TORONTO ON M5E 1S2

This field is not used in this country.

City

The city or town name. For most countries, your input address should use the official city name or alias.

County

The meaning of county varies by country.

  • CAN (Canada)—Not used

FirmName

Company or place name. For example:

Toronto Star Building
1 Yonge St
Toronto ON M5E 1E5

HouseNumber

The building number. You may get better parsing results for some countries if you put the house number in this field instead of AddressLine1. Not every country includes house number data.

Note: The house number specified in the HouseNumber field takes precedence over any house number specified in the AddressLine1 field.

LastLine

The last line of the address.

  • 330 Main St
    Toronto ON  M1B 3V4

Locality

The meaning of locality varies by country. Generally a locality is a village in rural areas or it may be a suburb in urban areas. When used, a locality typically appears on the last line of the address with the postcode.

  • CAN (Canada)—Dissemination Area and Enumeration Area (DA and EA)

PostalCode

The postal code in the appropriate format for the country.

Canada has a six-character postal code. The first three characters are typically separated from the second three with a space. The first three characters are the FSA, the second three are the LDU. Street address geocoding only requires the FSA while postal code geocoding requires the full postal code (FSALDU). Choose whether you wish to have a space between the first three and last three characters of the postal code. Keeping this consistent speeds up the geocoding process.

StateProvince

The meaning of State/Province varies by country.

  • CAN (Canada)—Province