From b2a6b3b4435c371c959d0447c635bbc0305f9b2f Mon Sep 17 00:00:00 2001 From: tatiana-yan Date: Wed, 29 Jul 2020 19:04:41 +0300 Subject: [PATCH] [generator] Do not enrich associatedStreet elements with alt_name:lang/old_name:lang/old_name:year etc. --- generator/relation_tags.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/relation_tags.cpp b/generator/relation_tags.cpp index 9de17c4f72..2099e06b0c 100644 --- a/generator/relation_tags.cpp +++ b/generator/relation_tags.cpp @@ -122,8 +122,8 @@ void RelationTagsWay::Process(RelationElement const & e) Base::AddCustomTag({"addr:street", p.second}); // All "name" tags should be skipped. - if (strings::StartsWith(p.first, "name") || p.first == "int_name" || p.first == "old_name" || - p.first == "alt_name") + if (strings::StartsWith(p.first, "name") || strings::StartsWith(p.first, "int_name") || + strings::StartsWith(p.first, "old_name") || strings::StartsWith(p.first, "alt_name")) { continue; }