OpenCage integration (Location, Data). Imported from open-connector.
https://api.opencagedata.com/geocode/v1/json
| Param | Type | Required | Description |
|---|---|---|---|
| q | string | required | Address or free-form query string to geocode. |
| limit | integer | optional | Maximum number of results to return, from 1 to 100. |
| bounds | string | optional | Bounding box bias formatted as west,south,east,north. |
| language | string | optional | Preferred response language code. |
| proximity | string | optional | Bias results near a latitude,longitude point. |
| countrycode | string | optional | Comma-separated ISO 3166-1 alpha-2 country codes used to restrict results. |
| abbrv | boolean | optional | Whether to abbreviate road and route names. |
| add_request | boolean | optional | Whether to include the original request in the response. |
| no_annotations | boolean | optional | Whether to omit annotations such as timezone or currency details. |
| pretty | boolean | optional | Whether to pretty-print the JSON response. |
| min_confidence | integer | optional | Minimum confidence score allowed for returned results, from 1 to 10. |
/geocode/v1/json
| Param | Type | Required | Description |
|---|---|---|---|
| q | string | required | Latitude and longitude formatted as latitude,longitude. |
| language | string | optional | Preferred response language code. |
| roadinfo | boolean | optional | Whether to include road information in the response. |
| abbrv | boolean | optional | Whether to abbreviate road and route names. |
| add_request | boolean | optional | Whether to include the original request in the response. |
| no_annotations | boolean | optional | Whether to omit annotations such as timezone or currency details. |
| pretty | boolean | optional | Whether to pretty-print the JSON response. |
| min_confidence | integer | optional | Minimum confidence score allowed for returned results, from 1 to 10. |
| normalizecity | boolean | optional | Whether to normalize city names in the response. |
/geocode/v1/geojson
| Param | Type | Required | Description |
|---|---|---|---|
| q | string | required | Address or free-form query string to geocode. |
| limit | integer | optional | Maximum number of results to return, from 1 to 100. |
| bounds | string | optional | Bounding box bias formatted as west,south,east,north. |
| language | string | optional | Preferred response language code. |
| proximity | string | optional | Bias results near a latitude,longitude point. |
| countrycode | string | optional | Comma-separated ISO 3166-1 alpha-2 country codes used to restrict results. |
| abbrv | boolean | optional | Whether to abbreviate road and route names. |
| add_request | boolean | optional | Whether to include the original request in the response. |
| no_annotations | boolean | optional | Whether to omit annotations such as timezone or currency details. |
| pretty | boolean | optional | Whether to pretty-print the JSON response. |
| min_confidence | integer | optional | Minimum confidence score allowed for returned results, from 1 to 10. |
| roadinfo | boolean | optional | Whether to include road information in the response. |