Denmark (DNK)

This section defines the supported geocoding datasets, operations, and input and output field information for Denmark.

Supported Geocoding Datasets

The following table lists the supported geocoding dataset(s) with the available geocoding levels for Denmark.

Note: Custom User Dictionaries are supported.
Geocoding Dataset City Centroid Suburb/Village Centroid Postal Centroid Street Centroid Interpolated Street Address Point-level Address Point of Interest
TomTom Danish Yes Yes Yes Yes Yes Yes No

Supported Operations

The following operations are supported for Denmark:
  • Geocoding—Takes one or more addresses as input and returns latitude/longitude coordinates and other information.
  • Reverse Geocoding—Takes one or more latitude and longitude coordinates as input and returns the address of the location.
  • Interactive Geocoding— Returns potential match candidates as the adddress is typed in.
  • Global Key Lookup—Returns geocode candidates when given a unique key as input. USA MLD and AUS GNAF data only.

Input Fields

The input address may contain some or all of the following address elements.

Parameter Type Description
placeName String Specifies the building name, place name, Point of Interest (POI), company or firm name associated with the input address. Optional.
mainAddress String Single Line Input—If no other address field is populated, then the mainAddress entry will be treated as a single line input. Single line input can consist of multiple input address fields ; these should be entered in the typical address order for the country. For more details, refer to the section "Single Line Input" below.

Street Address—If the post address components (city, postalCode, etc.) are provided separately or in the lastLine field, then the contents of mainAddress will be treated as the street address part and can include company name, house number, building names and street names. Optional.

Street Intersection Input—To enter an intersection, specify the two street names separated by a double ampersand (&&).

lastLine String The last line of the address. Optional. For example:

Lundsgade 15
1682 Copenhagen

areaName1 String Not used.
areaName2 String Specifies the province. Optional.
areaName3 String Specifies the city or town.
areaName4 String Not used.
postalCode String Denmark uses a four-digit postal code. The first digit cannot be zero.
country String The three-letter ISO 3166-1 Alpha-3 country code. For Denmark, the country code is DNK. Required for forward geocoding.

Address Guidelines for Denmark

Follow these suggestions to ensure that your input address data is in the best format possible for optimum matching and geocoding. For additional information about the Denmark postal system, see the Post Danmark website: www.postdanmark.dk.

  • Required fields—Addresses must contain either a city or a postal code.
  • Supported languages—Danish and English language aliases are supported for major town/municipality names. For example, Copenhagen (English) is equivalent to København (Danish).
  • Thoroughfare types—Thoroughfare types and their common abbreviations are recognized and fully supported on input and output. Following is a list of recognized thoroughfare types. This is not a complete list. Additional thoroughfare types may also be recognized.

    ALLÉ=alle
    ANLAEG=anlaeg
    ANLEAG=anleag
    BAKKEN=bakken
    BANEN=banen
    BASTION=bastion
    BOUL=boulevard
    BOULEVARD=bulevardi
    BRO=bro
    BROEN=bro
    BUEN=buen
    BULEVARDI=bulevardi
    DAMMEN=dammen
    DOSSERING=dossering
    GAARD=garrd
    GADE=gade
    GANGEN=gangen
    GARD=gard
    GÂRD=gard
    GET=get
    HAVE=have
    HAVN=havn
    HOEJEN=hojen
    HOJEN=højen
    HøJEN=højen
    HOLMEN=holmen
    HUSET=huset
    KAER=kaer
    KEAR=kear
    KRAENTEN=kraeten
    KREANTEN=kreanten
    LAENGEN=laengen
    LEANGEN=leangen
    MARKEN=marken
    PARK=parken
    PARKEN=parken
    PASSAGEN=passagen
    PLADS=plads
    SIDEN=siden
    STIEN=stien
    STRAEDE=straede
    STREADE=streade
    SVINGET=svinget
    TOFTEN=toften
    TORV=torv
    VAENGE=vaenge
    VANGEN=vangen
    VARDEN=varden
    VEANGE=veange
    VEJ=vej

  • Numbers, numeric equivalents, and ordinals—Numbered streets are mapped to the named equivalents. Ordinals are also recognized in input addresses.
  • Common words and abbreviations—Common words, directionals, house number indicators, and abbreviations used in addresses are supported.

Single Line Input

Instead of entering each address component in separate fields, you can enter the entire address in the mainAddress input field with the address elements ordered as follows:

[street_info][address_number][postal_code][area]

Where:
  • [street_info] consists of the street name, street type and any pre- or post-directional information (e.g. East, West, etc.). Optional.
  • [address_number] is optional.
  • [postal_code] is the postal code.
  • [area] is the city only, or city plus supporting information, such as state, province, locality.
  • Either the [area] or [postal_code] is required.

For best results, put a comma between the street information and the last address line information.

Custom Options

There are no options specific to Denmark.

Output Fields

The following table lists the address fields returned for a candidate located in Denmark.

Note: The placeName, addressNumber, unitType and unitValue field values are only returned when a geocoding dataset that supports street address interpolation is installed.
Field Name Description
mainAddressLine The street address which may include company name, house number, building names and street names.
addressLastLine The last line of the address.
placeName The building name, place name, Point of Interest (POI), company or firm name associated with the address.
areaName1 Not used.
areaName2 The province.
areaName3 The city or town.
areaName4 Not used.
postCode1 The 4-digit postal code.
postCode2 Not used.
country The three-letter ISO 3166-1 Alpha-3 country code. For Denmark, the country code is DNK.
addressNumber The address number.
streetName The street or road name.
unitType The unit type such as APT, STE, etc.
unitValue The unit value/number, such as "3B".
customFields Denmark does not have any custom output fields.