X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/263240919cb41ef3d19baf44df39f3d209b7cac5..081d1f9779b00af8b456af70c10fe85feaeab8e4:/docs/api/Reverse.md diff --git a/docs/api/Reverse.md b/docs/api/Reverse.md index b3c75efc..13805fd4 100644 --- a/docs/api/Reverse.md +++ b/docs/api/Reverse.md @@ -22,7 +22,7 @@ There are two ways how the requested location can be specified: A specific OSM node(N), way(W) or relation(R) to return an address for. -In both cases exactly one object is returned. The two input paramters cannot +In both cases exactly one object is returned. The two input parameters cannot be used at the same time. Both accept the additional optional parameters listed below. @@ -30,11 +30,11 @@ below. * `format=[xml|json|jsonv2|geojson|geocodejson]` -See below for details on each format. (Default: html) +See [Place Output Formats](Output.md) for details on each format. (Default: html) * `json_callback=` -Wrap json output in a callback function (JSONP) i.e. `()`. +Wrap JSON output in a callback function ([JSONP](https://en.wikipedia.org/wiki/JSONP)) i.e. `()`. Only has an effect for JSON output formats. ### Output details @@ -69,7 +69,7 @@ comma-separated list of language codes. * `zoom=[0-18]` -Level of detail required for the address. This is a number that corresponds +Level of detail required for the address. Default: 18. This is a number that corresponds roughly to the zoom level used in map frameworks like Leaflet.js, Openlayers etc. In terms of address details the zoom levels are as follows: @@ -80,7 +80,8 @@ In terms of address details the zoom levels are as follows: 8 | county 10 | city 14 | suburb - 16 | street + 16 | major streets + 17 | major and minor streets 18 | building @@ -134,7 +135,7 @@ This overrides the specified machine readable format. (Default: 0) B72 United Kingdom gb - + ``` @@ -145,7 +146,7 @@ This overrides the specified machine readable format. (Default: 0) ```json { "place_id":"134140761", - "licence":"Data © OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright", + "licence":"Data © OpenStreetMap contributors, ODbL 1.0. https:\/\/www.openstreetmap.org\/copyright", "osm_type":"way", "osm_id":"280940520", "lat":"-34.4391708",