Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Code Block
geocoder:address:name[?options]
geocoder:latlng:latitude,longitude[?options]

Options

Div
classconfluenceTableSmall

Property

Default

Description

language

en

The language to use.

headersOnly

false

Whether to only enrich the Exchange with headers, and leave the body as-is.

clientId

 

To use google premium with this client id

clientKey

 

To use google premium with this client key

Wiki Markup
{div:class=confluenceTableSmall} || Property || Default || Description || | {{language}} | {{en}} | The language to use. | | {{headersOnly}} | {{false}} | Whether to only enrich the [Exchange] with headers, and leave the body as-is. | | {{clientId}} | | To use google premium with this client id | | {{clientKey}} | | To use google premium with this client key | {div}

You can append query options to the URI in the following format, ?option=value&option=value&...

...

If the option headersOnly is set to true then the message body is left as-is, and only headers will be added to the Exchange.

Message Headers

Div
classconfluenceTableSmall

Header

Description

CamelGeoCoderStatus

Mandatory. Status code from the geocoder library. If status is GeocoderStatus.OK then additional headers is enriched

CamelGeoCoderAddress

The formatted address

CamelGeoCoderLat

The latitude of the location.

CamelGeoCoderLng

The longitude of the location.

CamelGeoCoderLatlng

The latitude and longitude of the location. Separated by comma.

CamelGeoCoderCity

The city long name.

CamelGeoCoderRegionCode

The region code.

CamelGeoCoderRegionName

The region name.

CamelGeoCoderCountryLong

The country long name.

CamelGeoCoderCountryShort

The country short name.

Wiki Markup
{div:class=confluenceTableSmall} || Header || Description || | {{CamelGeoCoderStatus}} | Mandatory. Status code from the geocoder library. If status is {{GeocoderStatus.OK}} then additional headers is enriched | | {{CamelGeoCoderAddress}} | The formatted address | | {{CamelGeoCoderLat}} | The latitude of the location. | | {{CamelGeoCoderLng}} | The longitude of the location. | | {{CamelGeoCoderLatlng}} | The latitude and longitude of the location. Separated by comma. | | {{CamelGeoCoderCity}} | The city long name. | | {{CamelGeoCoderRegionCode}} | The region code. | | {{CamelGeoCoderRegionName}} | The region name. | | {{CamelGeoCoderCountryLong}} | The country long name. | | {{CamelGeoCoderCountryShort}} | The country short name. | {div}

Notice not all headers may be provided depending on available data and mode in use (address vs latlng).

...