...
Code Block |
---|
geocoder:address:name[?options]
geocoder:latlng:latitude,longitude[?options]
|
Options
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 |
|
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.
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. |
|
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).
...