summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Rahn <rahn@kde.org>2016-07-17 19:23:07 (GMT)
committerTorsten Rahn <trahn@testo.de>2016-07-17 19:23:07 (GMT)
commit79d448d307fde6617e78cf929015e10c2f119427 (patch)
tree7f13095ecbc6e69790a2b48a3103b1a31b39d845
parent025808394790ea6413a0585f899cf7bb2073c3ee (diff)
Don't render the area:highway tagkeys and the tag
boundary:protected_area.
-rw-r--r--src/plugins/runner/osm/OsmWay.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/runner/osm/OsmWay.cpp b/src/plugins/runner/osm/OsmWay.cpp
index 23a3238..bfc5cbc 100644
--- a/src/plugins/runner/osm/OsmWay.cpp
+++ b/src/plugins/runner/osm/OsmWay.cpp
@@ -25,6 +25,8 @@ QSet<QString> OsmWay::s_areaTags;
void OsmWay::create(GeoDataDocument *document, const OsmNodes &nodes) const
{
bool const shouldRender =
+ !m_osmData.containsTagKey("area:highway") &&
+ !m_osmData.containsTag("boundary", "protected_area") &&
!m_osmData.containsTag("boundary", "postal_code") &&
!m_osmData.containsTagKey("closed:highway") &&
!m_osmData.containsTagKey("abandoned:highway") &&