summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-11-15 19:14:13 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-11-15 19:14:13 (GMT)
commitef9310e726e28b730546911ccb55e9611b5a05b6 (patch)
tree3edb0a6d033923b9df349c9d5d1a2ad38d028262
parent84026e1b2c64e018ebc452bcb1bd08b53ae36a55 (diff)
Increase level of detail in levels < 10
-rw-r--r--tools/vectorosm-tilecreator/NodeReducer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vectorosm-tilecreator/NodeReducer.cpp b/tools/vectorosm-tilecreator/NodeReducer.cpp
index 38ccbbc..f370bee 100644
--- a/tools/vectorosm-tilecreator/NodeReducer.cpp
+++ b/tools/vectorosm-tilecreator/NodeReducer.cpp
@@ -74,7 +74,7 @@ qreal NodeReducer::epsilonFor(int detailLevel, qreal multiplier) const
int const factor = 1 << (qAbs(detailLevel-12));
return multiplier / factor;
} else {
- int const factor = 1 << (qAbs(detailLevel-12));
+ int const factor = 1 << (qAbs(detailLevel-10));
return multiplier * factor;
}
}