summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-10-09 14:03:57 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-10-20 17:00:37 (GMT)
commit1a62251551071f7868aee693f1211ad2c1ecca06 (patch)
tree66949014ee5bf25c510f6f5c53bd700112e97490
parentc5ce456b24d2d6d825d897a383b0b40470dd3909 (diff)
Filter some landuse tags (e.g. farmland) on level 11
(cherry picked from commit dffe2d10a2d943986f7c021498bf856961fea9d2)
-rw-r--r--tools/vectorosm-tilecreator/TileDirectory.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/vectorosm-tilecreator/TileDirectory.cpp b/tools/vectorosm-tilecreator/TileDirectory.cpp
index e844d7a..ffd7b02 100644
--- a/tools/vectorosm-tilecreator/TileDirectory.cpp
+++ b/tools/vectorosm-tilecreator/TileDirectory.cpp
@@ -190,7 +190,11 @@ QStringList TileDirectory::tagsFilteredIn(int zoomLevel) const
tags << "natural=peak";
}
- if (zoomLevel <= 13) {
+ if (zoomLevel <= 11) {
+ tags << "landuse=forest";
+ tags << "landuse=military";
+ tags << "landuse=residential";
+ } else if (zoomLevel <= 13) {
tags << "landuse=commercial";
tags << "landuse=farmland";
tags << "landuse=farmyard";