X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/247065ff6f6f096c609729080b83896235aedfc8..99ba74efc29ff4a99175ba4a84cb4b8b164e2376:/docs/api/Search.md diff --git a/docs/api/Search.md b/docs/api/Search.md index da2a96b0..1c269168 100644 --- a/docs/api/Search.md +++ b/docs/api/Search.md @@ -152,7 +152,7 @@ as the ["Accept-Language" HTTP header](https://developer.mozilla.org/en-US/docs/ results when using Nominatim in the browser versus in a command-line tool like wget or curl. The command-line tools usually don't send any Accept-Language header, prompting Nominatim - to show results in the local language. Browsers on the contratry always + to show results in the local language. Browsers on the contrary always send the currently chosen browser language. ### Result restriction @@ -165,7 +165,7 @@ results and thus give a preference to some results over others. |-----------| ----- | ------- | | countrycodes | comma-separated list of country codes | _unset_ | -Filer that limits the search results to one or more countries. +Filter that limits the search results to one or more countries. The country code must be the [ISO 3166-1alpha2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the country, e.g. `gb` for the United Kingdom, `de` for Germany. @@ -187,8 +187,6 @@ also excluded when the filter is set. |-----------| ----- | ------- | | layer | comma-separated list of: `address`, `poi`, `railway`, `natural`, `manmade` | _unset_ (no restriction) | -**`[Python-only]`** - The layer filter allows to select places by themes. The `address` layer contains all places that make up an address: