Singapore (SGP)
This chapter defines the supported Geocode datasets, operations, and input and output field information for Singapore.
Supported Geocode Datasets
The following table lists the supported Geocode dataset(s) with the available geocoding levels for Singapore.
Geocode Dataset | Maximum Precision | Postcodes | Language | Geocode Level |
---|---|---|---|---|
TomTom | Address Points | No | English | Premium & Advanced |
Supported Operations
The following operations are supported for Singapore:
- 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.
The input address may contain some or all of the following address elements.
Field Name 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:
5 Bishan Place |
areaName1 | String | Not used. |
areaName2 | String | Not used. |
areaName3 | String | Specifies the city or town. |
areaName4 | String | Not used. |
postalCode | String | Specifies the six-digit postal code. The first two numbers indicate the sector and the last four numbers designate the delivery point within the sector. Every building in Singapore has a unique postal code. |
country | String | ISO 3166-1 Alpha-3 country code or country name. For Singapore, the country code is SGP. Required for forward geocoding. |
Address Guidelines for Singapore
Follow these suggestions to ensure that your input address data is in the best format possible for optimum matching and geocoding. For additional information on Singapore addresses, see the Singapore Post website: www.singpost.com.
- Required fields—Addresses must contain either a city or a postal code.
- PO box addresses—Post Office Box numbers are not used for address matching or geocoding purposes, but this does not interfere with matching or geocoding. The PO Box information is not returned. The following formats are recognized: P O Box, Locked Bag Service.
-
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. Others may also be recognized.
Pre-thoroughfare types
lorong=lorong, lrg, lor, lorang
jalan=jalan, jln, jl
lengkong=lengkong, lkg
kallang=kallang
mount=mount, mt
upper=upper, upp
Post-thoroughare types
track=trk,tck
street=st
road=rd
drive=dr
crescent=cr,cres,crescent,cresent
boulevard=bvd,blvd,bouleyard,boulvard
hill=hill
gate=gate
mall=mall
avenue=ave,av,avnue
link=lk
lane=l
walk=wk
green=grn
highway=hwy
quay=quay, qy
parkway=pwy
-
Common words and abbreviations—The geocoder recognizes common words,
directionals, house number indicators, and abbreviations used in addresses and can geocode
these addresses successfully. Thr following table shows a partial list of common
abbreviations that are recognized. Other common abbreviations may also be
recognized.
Common abbreviations
AYE=Ayer Rajah Expressway
BKE=Bukit Timah Expressway
CTE=Central Expressway
ECP=East Coast Parkway
KJE=Kranji Expressway
KPE=Kallang-Paya Lebar Expressway
PIE=Pan Island Expressway
SLE=Seletar Expressway
TPE=Tampines Expressway
Ctrl=Central
JLN=Jalan
LRG=Lorong
TG.=TANJONG
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:
[address_number][street_info][Singapore][postal_code]
- [address_number] is optional.
- [street_info] consists of the street name, street type and any pre- or post-directional information (e.g. East, West, etc.). Optional.
- [Singapore] If not supplied, a postal code is required.
- [postal_code] is the postal code. Required if "Singapore" does not appear in the address.
Custom Options
Singapore does not have any custom options.
The following table lists the options that are unique for Singapore. These custom fields are applicable to the Geocode operation and are optional input parameters.
Option Name | Description |
---|---|
USE_ADDRESS_POINT_INTERPOLATION | When set to true, enables address point interpolation. Default = false.
Supported in forward geocoding only. Note: The address point interpolation feature
requires that you have a point-level geocoding dataset installed. |
Parsed Address Output Fields
The following table lists the parsed address fields returned for a candidate located in Singapore.
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 | Not used. |
areaName3 | The city or town. |
areaName4 | Not used. |
postCode1 | The 6-digit postal code. |
postCode2 | Not used. |
country | The three-letter ISO 3166-1 Alpha-3 country code. For Singapore, the country code is SGP. |
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 | Singapore does not have any custom output fields. |