Address Autocomplete Preferences
Preferences supported by the Address Autocomplete Service include a variety of
preferences. The following table describes the preferences available to all
countries.
Option | Type | Description |
---|---|---|
clientCoordSysName | String | Specifies the coordinate system that you want to convert the
geometry to. The format must be the European Petroleum Survey Group
(EPSG) code or the SRID code. Default =
EPSG:4326 .Specify the coordinate reference
system in the format
|
clientLocale | Object | Specify the locale value. For example, specify "th" for the Thai language. |
cornerOffset | Distance | Specify the distance to offset the street end points in street-level matching. This is used to prevent addresses at street corners from being given the same geocode as the intersection. Defines the offset position of the geocoded point with respect to the corner. The default is 7 meters. |
customPreferences | Object | For use against any country dataset, define custom preferences to control additional functionality such as matching criteria, address casing, and enable functionality like DPV and SuiteLink. |
distance | Distance | Define the search radius. The default is 5 meters. |
factoryDescription | FactoryDescription | Controls which address processor will process the request. |
fallbackToGeographic | Boolean | Specifies whether to attempt to determine a geographic region
centroid when an address-level geocode cannot be determined.
Optional.
|
fallbackToPostal | Boolean | Specifies whether to attempt to determine a post code centroid
when an address-level geocode cannot be determined. Optional.
|
matchMode | String | Match modes determine the leniency used to make a match between
the input address and the reference data. Select a match mode based
on the quality of your input and your desired output. The following
match modes can used to allow fuzzy matching while using
Autocomplete. Please note that using fuzzy match options will impact
performance. Autocomplete has fuzzy match turned off by default to
give the best performance and most accurate results. The following
match modes are available:
|
maxResults | Integer | The maximum number of candidates to return. Default = 1. |
originXY | <Double> array | XY coordinates of the origin
address.{ "preferences" : { "originXY" : [-73.70252500000001, 42.68323] }, "address" : { "mainAddressLine" : "350 Jordan Rd" } } |
returnAllInfo | Boolean | Specifies whether to return all available information for each
candidate.
|
returnOfAdditionalFields | <String> array | This lets the user control which additional fields they want to have returned if they do not want to return all info. For example, to return the PreciselyID, use the valuePB_KEY
|
streetOffset | Distance | Specify the offset distance from the street segments to use in street-level geocoding. The offset prevents the geocode from being in the middle of a street. |
type | String |
Indicates the geocode type to be performed.
|