Include centroids in nearby OSM list

This commit is contained in:
Edward Betts 2021-07-16 11:09:59 +02:00
parent 6d4a416f5a
commit dfed99a8bc

View file

@ -455,6 +455,7 @@ def find_osm_candidates(item, bounds):
"geojson": osm.geojson(),
"presets": get_presets_from_tags(osm),
"address_list": address_list,
"centroid": list(osm.get_centroid()),
}
if hasattr(osm, 'area'):
cur["area"] = osm.area