A thoroughfare is a type of street

This commit is contained in:
Edward Betts 2021-07-22 09:48:28 +02:00
parent d4488a8dfd
commit 480df60d24

View file

@ -152,6 +152,7 @@ class Item(Base):
def is_street(self):
street_items = {
'Q79007', # street
'Q83620', # thoroughfare
'Q21000333', # shopping street
}
return bool(street_items & set(self.get_isa_qids()))