mirror of
https://codeberg.org/matkoniecz/list_how_openstreetmap_can_be_improved_with_alltheplaces_data.git
synced 2025-05-13 05:03:09 +02:00
document why
This commit is contained in:
parent
5de95159e5
commit
6fb33417e7
1 changed files with 5 additions and 0 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Reference in a new issue