From e33315eaa66d4e7612676a8e5cfdd249809670ad Mon Sep 17 00:00:00 2001 From: marc tobias Date: Tue, 21 Apr 2020 17:42:12 +0200 Subject: [PATCH 1/1] API documentation: clarification countrycode assignment happens using admin_level=2 tags --- docs/api/Search.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/api/Search.md b/docs/api/Search.md index 688d7e0c..c18655dc 100644 --- a/docs/api/Search.md +++ b/docs/api/Search.md @@ -92,8 +92,12 @@ comma-separated list of language codes. * `countrycodes=[,][,]...` Limit search results to one or more countries. `` must be the -ISO 3166-1alpha2 code, e.g. `gb` for the United Kingdom, `de` for Germany. +[ISO 3166-1alpha2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code, +e.g. `gb` for the United Kingdom, `de` for Germany. +Each place in Nominatim is assigned to one country code based +on `admin_level=2` tags, in rare cases to none (for example in +international waters outside any country). * `exclude_place_ids=