X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/57bf76a0e1d766bc90afcb8a748c5e25e7aa6f08..7ea860b2c083a0b1c3cc99fb07cd803b2000f880:/docs/api/Search.md?ds=sidebyside diff --git a/docs/api/Search.md b/docs/api/Search.md index 4b9d773c..ace6cc8d 100644 --- a/docs/api/Search.md +++ b/docs/api/Search.md @@ -1,6 +1,6 @@ # Search queries -The search API allows to look up a location from a textual description. +The search API allows you to look up a location from a textual description. Nominatim supports structured as well as free-form search queries. The search query may also contain @@ -46,7 +46,7 @@ In this form, the query may be given through two different sets of parameters: Structured requests are faster but are less robust against alternative OSM tagging schemas. **Do not combine with** `q=` **parameter**. -All three query forms accept the additional paramters listed below. +All three query forms accept the additional parameters listed below. ### Output format @@ -56,7 +56,7 @@ See [Place Output Formats](Output.md) for details on each format. (Default: html * `json_callback=` -Wrap json output in a callback function ([JSONP](https://en.wikipedia.org/wiki/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 @@ -112,7 +112,8 @@ Limit the number of returned results. (Default: 10, Maximum: 50) * `viewbox=,,,` The preferred area to find search results. Any two corner points of the box -are accepted in any order as long as they span a real box. +are accepted in any order as long as they span a real box. `x` is longitude, +`y` is latitude. * `bounded=[0|1]` @@ -175,12 +176,12 @@ This overrides the specified machine readable format. (Default: 0) ```xml - 135 Pilkington Avenue @@ -237,7 +238,7 @@ This overrides the specified machine readable format. (Default: 0) ##### JSON with address details -[https://nominatim.openstreetmap.org/?format=json&addressdetails=1&q=bakery+in+berlin+wedding&format=json&limit=1](https://nominatim.openstreetmap.org/?format=json&addressdetails=1&q=bakery+in+berlin+wedding&format=json&limit=1) +[https://nominatim.openstreetmap.org/?addressdetails=1&q=bakery+in+berlin+wedding&format=json&limit=1](https://nominatim.openstreetmap.org/?addressdetails=1&q=bakery+in+berlin+wedding&format=json&limit=1) ```json {