1
0
Fork 0

document why

This commit is contained in:
Mateusz Konieczny 2025-04-03 15:33:16 +02:00
parent 5de95159e5
commit 6fb33417e7

View file

@ -967,6 +967,11 @@ def missing_shop_distance_in_kilometers_for_specific_case(object_tags, spider_co
def the_same_feature_type(tags_a, tags_b):
"""
note, it is not necessarily transitory!
in fact main point of having this in addition to canonical_feature
is to handle some cases where
- feature_A should match with feature_B
- feature_B should match with feature_C
- without causing feature_A and feature_C become matching
"""
if "vending" in tags_a and "vending" in tags_b:
if tags_a.get("amenity") == "vending_machine":