From 49fa050b895ff649a857735f6fc2613c48f45561 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sat, 8 May 2021 13:14:08 +0200 Subject: [PATCH] Bug fix geojson in api --- web_view.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web_view.py b/web_view.py index 0fae87e..fe3300d 100755 --- a/web_view.py +++ b/web_view.py @@ -112,8 +112,10 @@ def get_osm_with_wikidata_tag(bbox): tagged.append( { "identifier": osm.identifier, + "id": osm.id, + "type": osm.type, "url": osm.osm_url, - "geoson": osm.geojson(), + "geojson": osm.geojson(), "centroid": list(osm.get_centroid()), "name": name, "wikidata": osm.tags["wikidata"],