File Specifications
Input & Output Fields
The fields you can map in the Fields step and the columns of the output file for the Address Validation and Address Validation and Geocoding services.
Input fields
Map each column of your file to one of these fields. Columns you leave as Not Mapped are not used for validation.
Minimum mapping
Map at least one of these combinations, otherwise the wizard stops with an Incomplete fields mapping error:
Single lineLocality+Address 1Locality+Street Name
If you check Worldwide in the Service step, the last two combinations also need Country (or Country Code). Otherwise the country you selected applies to every record.
| Field | Description | Note |
|---|---|---|
Country Code | Country code (ISO 3166-1 alpha-3 or alpha-2) | Alternative to Country. Required with Worldwide, unless Single line is mapped; otherwise the country selected in the Service step is used |
Country | Country name | Alternative to Country Code. Required with Worldwide, unless Single line is mapped; otherwise the country selected in the Service step is used |
Adm Level 1 (State or Region) | Administrative area level 1 (state or region) | Optional |
Adm Level 2 (Province or Department or County) | Administrative area level 2 (province, department or county) | Optional |
Locality (City or Town) | City or town | Required with Address 1 or Street Name, unless Single line is mapped |
Sublocality 1 (City District or Village) | City district or village | Optional |
Sublocality 2 (City District or Village) | City district or village | Optional |
Address 1 | Address | Alternative to Street Name + House Number + House Number Extension |
Address 2 | Secondary address | Optional |
Street Name | Street name | Required with Locality, unless Single line or Address 1 is mapped |
House Number | House number, including exponents | With Street Name, alternative to Address 1 |
House Number Extension | House number extension (additional information) | With Street Name and House Number, alternative to Address 1 |
Zip Code | Postal code | Optional |
Egon Code | Unique, permanent code that identifies a physical location: a locality or an address | Alternative to any descriptive address |
Single line | Complete address on a single line | Alternative to Address 1 or Street Name + House Number + House Number Extension |
P.O. Box | PO box | Optional |
Output fields
The output file keeps all the columns of your input file, in the same order, and adds these columns after them with the validation result of each record.
Every column is always present, whatever the service. When a value is not available the cell is empty, except for the Egon codes, which contain 0. Only Address Validation and Geocoding fills Geo_level and long_lat: with Address Validation they are always empty.
Geo_level joins two codes of the Geocoding quality indicators with a hyphen: in A41-111, A41 is the provider source code and 111 the precision and approximation level.
| Column | Description | Service | Note |
|---|---|---|---|
FLAG_RESULT | Address validation result | All services | 0 = validated at all levels; 1 = validated at street level; 2 = validated at city level; 3 = not validated |
Single_Line | Complete address on a single line | All services | Includes all territorial levels and the country name |
Country | Country name | All services | |
State | State | All services | Not available in every country |
Region | Region | All services | Not available in every country |
Province | Province | All services | Not available in every country |
City | City | All services | |
District_1 | Sub-locality (district) level 1 | All services | Not available in every country |
District_2 | Sub-locality (district) level 2 | All services | Not available in every country |
District_3 | Sub-locality (district) level 3 | All services | Not available in every country |
Postal_Town | Postal town | All services | Not available in every country |
Zip_code | Postal code | All services | |
Addr1 | Complete address | All services | Includes the house number and any additional address information |
Addr2 | Secondary address | All services | UK only |
Street_name | Street name | All services | |
House_number | House number and exponent | All services | |
House_number_ext | House number additional information | All services | |
Building | Building name | All services | UK only |
Subbuilding | Sub-building name | All services | UK only |
Organization | Organization name | All services | UK only |
Org_department | Organization department | All services | UK only |
Near_by | Nearby reference | All services | |
Care_of | Care of | All services | |
Po_box | PO box | All services | |
Out_lng | Output language | All services | Language code (ISO 3166-1 numeric for the native language) or transliteration code |
Egon_key_code | Egon key code | All services | 0 when not available |
Egon_str_code | Egon street code | All services | 0 when not available |
Egon_city_code | Egon city code | All services | 0 when not available |
Egon_sbl_code | Egon sub-locality code | All services | 0 when not available |
Code_Type | Code type | All services | Statistical or administrative code type |
Code_Value | Code value | All services | Statistical or administrative code value |
Geo_level | Geocoding source and level | Address Validation and Geocoding | Source code and level code joined by a hyphen, for example A41-111. Empty when not available and with Address Validation |
long_lat | Latitude and longitude | Address Validation and Geocoding | Degrees in WGS84, latitude first, separated by a spaced comma, for example 45.46792182 , 09.19569260. Empty when not available and with Address Validation |