Latvia (LVA)

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

Supported Geocoding Datasets

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

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

Supported Operations

The following operations are supported for Latvia:
  • 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.

Field Name Type Description
PlaceName String Specifies the building name, place name, Point of Interest (POI), company or firm name associated with the input address. Optional.
MainAddressLine String Single Line Input—If no other address field is populated, then the MainAddressLine 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 MainAddressLinemainAddress 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:

Aglonas iela 21
Valmiera, LV-4201

areaName1 String Specifies the state. Optional.
areaName2 String Specifies the district. Optional.
areaName3 String Specifies the city or town. Optional.
areaName4 String Specifies the locality. Optional.
postalCode String Specifies the postal code. Latvian postal codes consist of 4 digits, usually preceded by LV-. The first two digits indicate the routing area and the last two digits the post office. Optional.
country String The three-letter ISO 3166-1 Alpha-3 country code. For Latvia, the country code is LVA. Required for forward geocoding.

Address Guidelines for Latvia

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 Latvia postal system, see the Latvias Pasts website: www.pasts.lv.

  • Required fields—Addresses must contain either a city or a postal code.
  • Abbreviations in addresses—The geocoder recognizes common words, directionals, house number indicators, and abbreviations used in addresses and can geocode these addresses successfully.
  • Numbers, numeric equivalents, and ordinals—Numbered streets are mapped to the named equivalents. Ordinals are also recognized in input addresses.
  • Thoroughfare types—Thoroughfare types and their common abbreviations are recognized and fully supported on input and output. The following table shows is a partial list of recognized thoroughfare types. Many others are recognized.

    Pre-Thoroughfare Types

    AUGUSTA=AUGUSTA
    KÂRÏA=KÂRÏA,K
    KRIÐJÂÒA=KRIÐJÂÒA,KR

    Post-Thoroughfare Types

    This is a partial list. Additional thoroughfare types are recognized.

    ALEJA=ALEJA
    BULVARIS=BULVARIS, BULVÂRIS, BOULEVARD, BLVD
    CEÏÐ=CEÏÐ
    DAMBIS=DAMBIS
    GATVE=GATVE
    IELA=IELA,STREET,STR
    KRASTMALA=KRASTMALA
    LAUKUMS=LAUKUMS
    LINIJA=LINIJA
    MAGISTRALE=MAGISTRALE
    PIEKRASTE=PIEKRASTE
    PROSPEKTS=PROSPEKTS
    SETA=SETA
    ÐOSEJA=ÐOSEJA
    ÐÍÇRSIELA=ÐÍÇRSIELA
    ÐÍÇRSLINIJA=ÐÍÇRSLINIJA
    LAUKUMS=LAUKUMS

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][area][postal_code]

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.
  • [area] is the city only, or city plus supporting information, such as state, province, locality.
  • [postal_code] is the postal code.
  • 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 Latvia.

Parsed Address Output Fields

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

To return the Parsed Address fields using Management Console, select one of the following options:
  • To return the Parsed Address fields: In the Country Filters dropdown menu, select Global Defaults. Then, on the Return Values tab, select Parsed Address.
  • To return all output fields: In the Country Filters dropdown, select Global Defaults. Then, on the Return Values tab, select Return all available information.
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 The state.
areaName2 The district.
areaName3 The city or town.
areaName4 The locality.
postCode1 The 4-digit postal code (may be preceded by LVA-).
postCode2 Not used.
country The three-letter ISO 3166-1 Alpha-3 country code. For Latvia, the country code is LVA.
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 Latvia does not have any custom output fields.