Custom Options

There are some countries that support setting custom matching and/or geocoding options that are specific to the country.

Australia (AUS)

Canada (CAN)

France (FRA)

Germany (DEU)

Great Britain (GBR)

New Zealand (NZL)

Portugal (PRT)

Singapore (SGP)

Custom Preferences

Custom options are offered for these countries:

For more information, see the "Custom Options" section in the country's write-up.

In addition, for countries that support both custom user dictionaries and standard geocoding datasets, you can set a custom preference with the key KEY_CUSTOM_DICTIONARY_USAGE that will define the searching and matching preferences when both custom and standard dictionaries are available in the geocoding engine. This option is only available with forward geocoding. To locate information about whether your country supports custom user dictionaries, refer to the "Supported Geocoding Datasets" section in the country's write-up.

The following tables providetable provides information on how to implement a custom option.

REST API Feature Implementation
Service: Geocode
Request Type: POST
Object : Element preferences : customPreferences, where the custom option is specified using a key/value pair.

For more information, see Geocode POST Request.

Java API Feature Implementation
Package: com.mapinfo.geocode.api
Interface: Preferences
Methods: addCustomPreference(String key, String value) - Use to add a single custom key/value pair to the preferences.
setCustomPreferences(Map<String,String>, customPreferences) - Use to add multiple key/value pairs to the preferences.