X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6e5f595d48be5745dfd9b8d902ccb9a0a4a80601..20d0fb35ce9d4d7c006a0e77dcf25edc2e8509b3:/docs/api/Reverse.md diff --git a/docs/api/Reverse.md b/docs/api/Reverse.md index 27d0b60c..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. @@ -147,23 +146,23 @@ In terms of address details the zoom levels are as follows: | Parameter | Value | Default | |-----------| ----- | ------- | -| layers | comma-separated list of: `address`, `poi`, `railway`, `natural`, `manmade` | _unset_ (no restriction) | +| layer | comma-separated list of: `address`, `poi`, `railway`, `natural`, `manmade` | _unset_ (no restriction) | -The layers filter allows to select places by themes. +The layer filter allows to select places by themes. The `address` layer contains all places that make up an address: address points with house numbers, streets, inhabited places (suburbs, villages, -cities, states tec.) and administrative boundaries. +cities, states etc.) and administrative boundaries. -The `poi` layer selects all point of interest. This includes classic POIs like -restaurants, shops, hotels but also less obvious features like recycling bins, -guideposts or benches. +The `poi` layer selects all point of interest. This includes classic points +of interest like restaurants, shops, hotels but also less obvious features +like recycling bins, guideposts or benches. 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. @@ -185,7 +184,7 @@ options can be used at a time. |-----------| ----- | ------- | | polygon_threshold | floating-point number | 0.0 | -When one og the polygon_* outputs is chosen, return a simplified version +When one of the polygon_* outputs is chosen, return a simplified version of the output geometry. The parameter describes the tolerance in degrees with which the geometry may differ from the original geometry. Topology is preserved in the geometry.