Avoid matching tram stops with buildings
This commit is contained in:
parent
ed113d8d71
commit
238fbeef05
2 changed files with 8 additions and 2 deletions
|
|
@ -174,6 +174,8 @@ def get_item_tags(item):
|
|||
osm_list = set()
|
||||
|
||||
skip_isa = {row[0] for row in database.session.query(model.SkipIsA.item_id)}
|
||||
if item.is_tram_stop():
|
||||
skip_isa.add(41176) # building (Q41176)
|
||||
|
||||
seen = set(isa_list) | skip_isa
|
||||
while isa_items:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue