From fd76bcaa37634ece86e00fd062018eaefb6431ef Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sun, 11 Jul 2021 17:14:31 +0200 Subject: [PATCH] Include candidate OSM type and ID in nearby search --- matcher/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matcher/api.py b/matcher/api.py index d9d9847..0b4b34c 100644 --- a/matcher/api.py +++ b/matcher/api.py @@ -439,6 +439,8 @@ def find_osm_candidates(item, bounds): address_list = [] cur = { "identifier": osm.identifier, + "type": osm.type, + "id": osm.id, "distance": dist, "name": name, "tags": tags,