mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03: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:
committed by
Konstantin Pastbin
parent
d89ef42acc
commit
34af5e26d9
@@ -209,7 +209,11 @@ void RelationTagsWay::Process(RelationElement const & e)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Do not pass "ref" tags from boundaries and other, non-route relations to highways.
|
// 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;
|
continue;
|
||||||
|
|
||||||
Base::AddCustomTag(p);
|
Base::AddCustomTag(p);
|
||||||
|
|||||||
Reference in New Issue
Block a user