]> git.openstreetmap.org Git - nominatim.git/blobdiff - docs/api/Search.md
reorganize ranks of high-level place types
[nominatim.git] / docs / api / Search.md
index 688d7e0c522f04eb93210677be09c0b2b2c20047..c18655dcc03f570b866af1d94ed5d049423db633 100644 (file)
@@ -92,8 +92,12 @@ comma-separated list of language codes.
 * `countrycodes=<countrycode>[,<countrycode>][,<countrycode>]...`
 
 Limit search results to one or more countries. `<countrycode>` 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=<place_id,[place_id],[place_id]`