The input address may contain some or all of the following address elements.
Preference | Type | Description |
---|---|---|
streetOffset | Double | The offset distance from the street segments. The distance is in the
units you specify in the streetOffsetUnits
preference. Default value = 7 meters. The offset distance is used in street-level geocoding to prevent the geocode from being in the middle of a street. It compensates for the fact that street-level geocoding returns a latitude and longitude point in the center of the street where the address is located. For example, an offset of 50 feet means that the geocode will represent a point 50 feet back from the center of the street. The distance is calculated perpendicular to the portion of the street segment for the address. Offset is also used to prevent addresses across the street from each other from being given the same point. |
streetOffsetUnits | String | Unit of measurement for the street offset. One of the following: Feet, Meters (default). |
cornerOffset | Double | Distance to offset the street end points in street-level matching. The
distance is in the units you specify in the
cornerOffsetUnits preference. This value 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. Default value = 7 meters.
The following diagram compares the end points of a street to offset end points. |
cornerOffsetUnits | String | Specifies the unit of measurement for the corner offset. One of the following: Feet, Meters (default). |
|
Boolean | Specifies whether to return all available information for each candidate.
|
|
Integer | The maximum number of candidates to return. Optional. Must be an integer value. Default = 1. |
distance |
Integer | Distance of the radius in which to search for a match to the input coordinates. This value can be specified in either feet or meters. |
distanceUnits |
String |
FEET,METERS,MILES,KILOMETERS, FOOT,METER,MILE,KILOMETER |
|
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 |
|
Boolean |
|
|
List<String> | Specifies a list of keys that represent the custom fields to be
returned in the candidate's customFields
output. To specify multiple key/value pairs for a country, use
spaces to separate the names of the custom fields to be returned.
Custom fields vary by country. For example:
“CTYST_KEY ” or “DATATYPE ”.
Default: empty. |
|
Boolean |
|
|
Boolean |
|