X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/310776671bb1947c116ce7e7fb24829745ce214b..0ba3d01982bde93f4acfb27880407fa8e1dafa54:/docs/api/Output.md diff --git a/docs/api/Output.md b/docs/api/Output.md index d59f75dd..029f78bc 100644 --- a/docs/api/Output.md +++ b/docs/api/Output.md @@ -12,7 +12,7 @@ a single place (for reverse) of the following format: ``` { - "place_id": "100149", + "place_id": 100149, "licence": "Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright", "osm_type": "node", "osm_id": "107775", @@ -211,8 +211,8 @@ be more than one. The attributes of that element contain: * `ref` - content of `ref` tag if it exists * `lat`, `lon` - latitude and longitude of the centroid of the object * `boundingbox` - comma-separated list of corner coordinates ([see notes](#boundingbox)) - * `place_rank` - class [search rank](../develop/Ranking#search-rank) - * `address_rank` - place [address rank](../develop/Ranking#address-rank) + * `place_rank` - class [search rank](../customize/Ranking.md#search-rank) + * `address_rank` - place [address rank](../customize/Ranking.md#address-rank) * `display_name` - full comma-separated address * `class`, `type` - key and value of the main OSM tag * `importance` - computed importance rank @@ -236,7 +236,7 @@ on another server. It may even change its ID on the same server when it is removed and reimported while updating the database with fresh OSM data. It is thus not useful to treat it as permanent for later use. -The combination `osm_type`+`osm_id` is slighly better but remember in +The combination `osm_type`+`osm_id` is slightly better but remember in OpenStreetMap mappers can delete, split, recreate places (and those get a new `osm_id`), there is no link between those old and new ids. Places can also change their meaning without changing their `osm_id`, @@ -290,7 +290,7 @@ with a designation label. Per default the following labels may appear: * city_district, district, borough, suburb, subdivision * hamlet, croft, isolated_dwelling * neighbourhood, allotments, quarter - * city_block, residental, farm, farmyard, industrial, commercial, retail + * city_block, residential, farm, farmyard, industrial, commercial, retail * road * house_number, house_name * emergency, historic, military, natural, landuse, place, railway,