X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/39039e2a55e616da54dd33365863d36c47dd7ddb..d856788bf5cf7b4b3e2b4de10f37cf3002ae6826:/docs/api/Reverse.md?ds=inline diff --git a/docs/api/Reverse.md b/docs/api/Reverse.md index 6d281da8..e646818f 100644 --- a/docs/api/Reverse.md +++ b/docs/api/Reverse.md @@ -32,10 +32,9 @@ projection. The API returns exactly one result or an error when the coordinate is in an area with no OSM data coverage. -!!! danger "Deprecation warning" - The reverse API used to allow address lookup for a single OSM object by - its OSM id for `[PHP-only]`. The use is considered deprecated. - Use the [Address Lookup API](Lookup.md) instead. +!!! tip + The reverse API allows a lookup of object by coordinate. If you want + to look up an object by ID, use the [Address Lookup API](Lookup.md) instead. !!! danger "Deprecation warning" The API can also be used with the URL @@ -115,7 +114,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. @@ -149,8 +148,6 @@ In terms of address details the zoom levels are as follows: |-----------| ----- | ------- | | 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: @@ -165,7 +162,7 @@ The `railway` layer includes railway infrastructure like tracks. Note that in Nominatim's standard configuration, only very few railway features are imported into the database. -The `natural` layer collects feautures like rivers, lakes and mountains while +The `natural` layer collects features like rivers, lakes and mountains while the `manmade` layer functions as a catch-all for features not covered by the other layers.