Input Fields

For Spain, Geocode Address Global takes a street address 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 Spain.

AddressLine1

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

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.

Table 1. Input Fields for Spain

Field Name

Description

AddressLine1

One of the following:

  • The address line containing the street name and building number. For example:

    Paso De la Castellated 210
    28036 Madrid

  • 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

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. For Argentina, Austria, Bahamas, Czech Republic, Indonesia, Italy, Mexico, Portugal, Spain, Slovenia, and Switzerland, you can use the town name or alias. The alias can be either a local alternative name or a language alternative (Basque or Catalan). The city name returned will match the name specified in the input. For example, Xàbia is an alias of Jávea. If the input address uses Jávea, then Jávea will be returned; if the input address uses Xàbia, then Xàbia will be returned.

County

The meaning of county varies by country.

  • ESP (Spain)—Province
Note: If you enter addresses with the Andorran country code (AND), only Andorran addresses are returned, including the AND country code. If you enter an Andorran with a country code of Spain (ESP), you will still get Andorran candidates, but with the ESP country code.

FirmName

A place name, such as a building name or company name.

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.

  • Paso De la Castellated 210
    28036 Madrid

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.

  • ESP (Spain)—Locality

PostalCode

The postal code in the appropriate format for the country.

Spanish postcodes are composed of five digits (Andorra postcodes. are in the format AN###.) You must enter a complete postcode.

StateProvince

The meaning of State/Province varies by country.

  • ESP (Spain)—Region