summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-10-09 21:49:38 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-10-10 12:56:33 (GMT)
commit237fc5cafc29e523da2b0fcbac53b079e40500ae (patch)
tree8ffb7a9010a0eab58ceef39a4b41804a95946d23
parent291e449089332ad4ff7f3bcd1ebceb069c3521d3 (diff)
Extract rivers on level 11 also, and include waterway=riverbank
-rw-r--r--tools/vectorosm-tilecreator/TileDirectory.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/vectorosm-tilecreator/TileDirectory.cpp b/tools/vectorosm-tilecreator/TileDirectory.cpp
index c7141db..bd5e000 100644
--- a/tools/vectorosm-tilecreator/TileDirectory.cpp
+++ b/tools/vectorosm-tilecreator/TileDirectory.cpp
@@ -155,6 +155,11 @@ QStringList TileDirectory::tagsFilteredIn(int zoomLevel) const
tags << "highway=primary" << "highway=primary_link";
tags << "highway=secondary" << "highway=secondary_link";
+ tags << "waterway=river";
+ tags << "waterway=riverbank";
+ tags << "waterway=stream";
+ tags << "waterway=canal";
+
if (zoomLevel >= 13) {
tags << "highway=tertiary" << "highway=tertiary_link";
tags << "highway=unclassified";
@@ -179,10 +184,6 @@ QStringList TileDirectory::tagsFilteredIn(int zoomLevel) const
tags << "leisure=stadium";
tags << "tourism=alpine_hut";
- tags << "waterway=river";
- tags << "waterway=stream";
- tags << "waterway=canal";
-
tags << "place=suburb";
tags << "place=village";