From 32d26f12c440a8dcee2725549a4d42b1a11bf99c Mon Sep 17 00:00:00 2001 From: Emily Love Watson Date: Wed, 3 Sep 2025 09:55:43 -0500 Subject: [PATCH] Add example entrances output --- docs/api/Output.md | 59 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/docs/api/Output.md b/docs/api/Output.md index 4d93627b..b361491b 100644 --- a/docs/api/Output.md +++ b/docs/api/Output.md @@ -325,3 +325,62 @@ associated with the entrance node. They roughly correspond to the classification of the OpenStreetMap data according to either the `place` tag or the main key of the object. + +#### Example + +##### JSON + +[https://nominatim.openstreetmap.org/details?osmtype=W&osmid=32619803&entrances=1&format=json](https://nominatim.openstreetmap.org/details?osmtype=W&osmid=32619803&entrances=1&format=json) + + +```json +{ + "place_id": 124325848, + "parent_place_id": 123936289, + "osm_type": "W", + "osm_id": 32619803, + "category": "shop", + "type": "supermarket", + "admin_level": 15, + "localname": "PENNY", + ... + "entrances": [ + { + "osm_id": 1733488238, + "type": "yes", + "lat": "51.0466704", + "lon": "12.8077106", + "extratags": { + "foot": "yes" + } + }, + { + "osm_id": 1733488256, + "type": "main", + "lat": "51.0467197", + "lon": "12.8078448", + "extratags": { + "foot": "yes" + } + }, + { + "osm_id": 1733498087, + "type": "exit", + "lat": "51.0467081", + "lon": "12.8078131", + "extratags": { + "foot": "yes" + } + }, + { + "osm_id": 7914950851, + "type": "service", + "lat": "51.0468487", + "lon": "12.8075876", + "extratags": { + "access": "delivery" + } + } + ] +} +``` -- 2.39.5