Include candidate OSM type and ID in nearby search

This commit is contained in:
Edward Betts 2021-07-11 17:14:31 +02:00
parent cb1864059a
commit fd76bcaa37

View file

@ -439,6 +439,8 @@ def find_osm_candidates(item, bounds):
address_list = [] address_list = []
cur = { cur = {
"identifier": osm.identifier, "identifier": osm.identifier,
"type": osm.type,
"id": osm.id,
"distance": dist, "distance": dist,
"name": name, "name": name,
"tags": tags, "tags": tags,