mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-27 00:49:55 +03:00
Merge pull request #1764 from mtmail/docs-countrycodes-based-on-adminlevel-2
API docs: countrycode assignment happens using admin_level=2 tags
This commit is contained in:
commit
97a9a262bb
@ -92,8 +92,12 @@ comma-separated list of language codes.
|
|||||||
* `countrycodes=<countrycode>[,<countrycode>][,<countrycode>]...`
|
* `countrycodes=<countrycode>[,<countrycode>][,<countrycode>]...`
|
||||||
|
|
||||||
Limit search results to one or more countries. `<countrycode>` must be the
|
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]`
|
* `exclude_place_ids=<place_id,[place_id],[place_id]`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user