mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
Do not inherit "oneway" and "surface" from Relation.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
@@ -209,7 +209,11 @@ void RelationTagsWay::Process(RelationElement const & e)
|
||||
continue;
|
||||
|
||||
// Do not pass "ref" tags from boundaries and other, non-route relations to highways.
|
||||
if (p.first == "ref" && isHighway)
|
||||
if (isHighway && p.first == "ref")
|
||||
continue;
|
||||
|
||||
// https://github.com/organicmaps/organicmaps/issues/8246
|
||||
if (type == "route" && (p.first == "oneway" || p.first == "surface"))
|
||||
continue;
|
||||
|
||||
Base::AddCustomTag(p);
|
||||
|
||||
Reference in New Issue
Block a user