X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3af8dc95806b2784943926e383b33592a7e93bad..0ef64258470a5665b20122a75cbac1bb8cc7121c:/docs/api/Search.md 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 {