1
0
Fork 0

more clear TODOs

This commit is contained in:
Mateusz Konieczny 2025-01-15 16:22:07 +01:00
parent c5406cb9e5
commit 91590fb3c9

View file

@ -1045,17 +1045,18 @@ def clear_type_conflicts():
while amenity=restaurant vs amenity=fast_food may be not be a real type conflict,
with one source/mapper using one type and second another, for the same object
"""
# TODO
# what about multi-typed ones?
# TODO: what about multi-typed ones?
# say amenity=fuel office=diplomatic vs office=diplomatic
# see tests like
# test_handle_post_offices_with_copyshop_tagged_as_shop
# for ones where workaround was added
# TODO: try to automate finding real multitype ones, which would become matching if one of tags would be removed
# for ones where workaround/handling was added
#
# TODO (how to fix earlier one) try to automate finding real multitype ones, which would become matching if one of tags would be removed
# for example at some point
# amenity=post_office would match amenity=post_office
# but amenity=post_office would NOT match amenity=post_office + shop=copyshop
# and https://www.openstreetmap.org/node/4359431140/history is example of such case
# ideally we would identify such cases and think how to handle them
return [
# TODO
# what about weird cases being on edge?