For more than one layer, accepts a comma separated list of valid layers. If any of those layers is invalid, the request will still be honored, but a warning will be thrown in the `geocoding` block of the response.
For more than one layer, accepts a comma separated list of valid layers. If any of those layers is invalid, the request will still be honored, but a warning will be noted in the `geocoding` block of the response.
required:false
required:false
collectionFormat:csv
collectionFormat:csv
@ -163,18 +163,22 @@ paths:
in:query
in:query
type:number
type:number
format:float
format:float
required:false
- name:boundary.rect.min_lat
- name:boundary.rect.min_lat
in:query
in:query
type:number
type:number
format:float
format:float
required:false
- name:boundary.rect.max_lon
- name:boundary.rect.max_lon
in:query
in:query
type:number
type:number
format:float
format:float
required:false
- name:boundary.rect.max_lat
- name:boundary.rect.max_lat
in:query
in:query
type:number
type:number
format:float
format:float
required:false
- name:boundary.country
- name:boundary.country
@ -266,39 +270,44 @@ paths:
/reverse:
/reverse:
get:
get:
summary:Takes the coordinates of a location and searches for the name or address of the place it's from.
summary:Searches for the name of a place based on a lon/lat location. Used for address reverse geocoding, point of interest (POI) reverse geocoding, and reverse coarse geocoding.
parameters:
parameters:
- name:point.lon
- name:point.lon
in:query
in:query
format:float
description:tk
required:true
required:true
min:-180
type:number
max:180
format:float
minimum:-180
maximum:180
- name:point.lat
- name:point.lat
in:query
in:query
format:float
description:tk
required:true
required:true
min:-90
type:number
max:90
format:float
minimum:-90
maximum:90
- name:boundary.circle.lon
- name:boundary.circle.lon
in:query
in:query
description:tk
type:number
type:number
format:float
format:float
required:false
required:true
min:-180
minimum:-180
max:180
maximum:180
- name:boundary.circle.lat
- name:boundary.circle.lat
in:query
in:query
type:number
type:number
format:float
format:float
required:false
required:false
min:-90
minimum:-90
max:180
maximum:180
- name:boundary.circle.radius
- name:boundary.circle.radius
in:query
in:query
@ -306,6 +315,7 @@ paths:
format:float
format:float
required:false
required:false
description:bounding circle radius (in KM).
description:bounding circle radius (in KM).
minimum:0.001
- name:boundary.country
- name:boundary.country
in:query
in:query
@ -314,20 +324,38 @@ paths:
required:false
required:false
description:Limits search to only return matches within a specific country. Accepts 2 or 3 letter country codes based on ISO [Alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Current_codes) or [Alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Current_codes) abbreviations.
description:Limits search to only return matches within a specific country. Accepts 2 or 3 letter country codes based on ISO [Alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Current_codes) or [Alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Current_codes) abbreviations.
- name:layer
- name:layers
in:query
in:query
type:string
required:false
description:tk
collectionFormat:csv
- name:sources
in:query
type:string
required:false
description:tk
collectionFormat:csv
- name:size
in:query
type:integer
format:int32
required:false
default:10
responses:
responses:
200:
200:
description:All Good.
description:GeoJSON FeatureCollection
security:
security:
- api_key:[]
- api_key:[]
/place:
/place:
get:
get:
summary:Retrieves the full GeoJSON record for a given place. ID determined from the results of a `/search`, `/autocomplete`, or `/reverse` response.
summary:Retrieves the full GeoJSON record for a given place. ID determined from the results of a `/search`, `/autocomplete`, or `/reverse` response.