Browse Source

Add coordinate section to API response docs

These note that we use longitude, latitude order.

Fixes pelias/pelias#441
pull/156/head
Julian Simioni 8 years ago
parent
commit
49a494a390
No known key found for this signature in database
GPG Key ID: 6DAD08919FDBF563
  1. 4
      response.md

4
response.md

@ -63,6 +63,10 @@ Additionally, [/reverse](reverse.md) queries will have a `distance` parameter, w
## Notable features ## Notable features
## `coordinates`
All results returned from Mapzen Search are points, and can be found in the `coordinates` array. Following the [GeoJSON specification](http://geojson.org/geojson-spec.html#positions), these coordinates are in **longitude, latitude** order.
### `gid` ### `gid`
All places in Mapzen Search have a global identifier, known as a `gid`. Each matching record returned from a [/search](search.md), [/autocomplete](autocomplete.md), or [/reverse](reverse.md) geocoding request has a `gid` field. All places in Mapzen Search have a global identifier, known as a `gid`. Each matching record returned from a [/search](search.md), [/autocomplete](autocomplete.md), or [/reverse](reverse.md) geocoding request has a `gid` field.

Loading…
Cancel
Save