X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e98619f8018abd6c4d23e4f2e74e8b4ca330d66c..a92bd1e2db868548a6314fe981e1facebbe700a1:/docs/api/Search.md diff --git a/docs/api/Search.md b/docs/api/Search.md index 688d7e0c..9f73594d 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=,,,` 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. `x` is longitude, +are accepted as long as they span a real box. `x` is longitude, `y` is latitude.