Include centroids in nearby OSM list
This commit is contained in:
parent
6d4a416f5a
commit
dfed99a8bc
|
@ -455,6 +455,7 @@ def find_osm_candidates(item, bounds):
|
||||||
"geojson": osm.geojson(),
|
"geojson": osm.geojson(),
|
||||||
"presets": get_presets_from_tags(osm),
|
"presets": get_presets_from_tags(osm),
|
||||||
"address_list": address_list,
|
"address_list": address_list,
|
||||||
|
"centroid": list(osm.get_centroid()),
|
||||||
}
|
}
|
||||||
if hasattr(osm, 'area'):
|
if hasattr(osm, 'area'):
|
||||||
cur["area"] = osm.area
|
cur["area"] = osm.area
|
||||||
|
|
Loading…
Reference in a new issue