X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9a56e53d50211be8b34ac1ecddf0e2930f987701..baee6f3de09226c3dc41cb2314a0ac348e865561:/docs/api/Output.md?ds=inline diff --git a/docs/api/Output.md b/docs/api/Output.md index 961f48b8..d59f75dd 100644 --- a/docs/api/Output.md +++ b/docs/api/Output.md @@ -98,7 +98,10 @@ The GeocodeJSON format follows the The following feature attributes are implemented: * `osm_type`, `osm_id` - reference to the OSM object (unofficial extension, [see notes](#osm-reference)) - * `type` - value of the main tag of the object (e.g. residential, restaurant, ...) + * `type` - the 'address level' of the object ('house', 'street', `district`, `city`, + `county`, `state`, `country`, `locality`) + * `osm_key`- key of the main tag of the OSM object (e.g. boundary, highway, amenity) + * `osm_value` - value of the main tag of the OSM object (e.g. residential, restaurant) * `label` - full comma-separated address * `name` - localised name of the place * `housenumber`, `street`, `locality`, `district`, `postcode`, `city`, @@ -127,7 +130,7 @@ formats depending on the API call. Bavaria - DE-BY + DE-BY Germany de @@ -181,7 +184,7 @@ Additional information requested with `addressdetails=1`, `extratags=1` and London Greater London England - GB-ENG + GB-ENG SW1A 2DU United Kingdom gb