Bug fix geojson in api

This commit is contained in:
Edward Betts 2021-05-08 13:14:08 +02:00
parent 8fea2a8aa7
commit 49fa050b89
1 changed files with 3 additions and 1 deletions

View File

@ -112,8 +112,10 @@ def get_osm_with_wikidata_tag(bbox):
tagged.append( tagged.append(
{ {
"identifier": osm.identifier, "identifier": osm.identifier,
"id": osm.id,
"type": osm.type,
"url": osm.osm_url, "url": osm.osm_url,
"geoson": osm.geojson(), "geojson": osm.geojson(),
"centroid": list(osm.get_centroid()), "centroid": list(osm.get_centroid()),
"name": name, "name": name,
"wikidata": osm.tags["wikidata"], "wikidata": osm.tags["wikidata"],