summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-11-06 17:24:39 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-11-06 17:24:39 (GMT)
commite6b0b00ae8c7c9d8c413b89e8a7a4528d2cc2d80 (patch)
treed55c88e951796c5f21d387e63e66fcf759501015
parent872536f1c1129693877573f4ccb5e705913555b4 (diff)
Preserve more details
-rw-r--r--tools/vectorosm-tilecreator/NodeReducer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/vectorosm-tilecreator/NodeReducer.cpp b/tools/vectorosm-tilecreator/NodeReducer.cpp
index b595887..e20194a 100644
--- a/tools/vectorosm-tilecreator/NodeReducer.cpp
+++ b/tools/vectorosm-tilecreator/NodeReducer.cpp
@@ -69,13 +69,13 @@ qint64 NodeReducer::remainingNodes() const
qreal NodeReducer::epsilonForString(int detailLevel) const
{
int const factor = 1 << (qAbs(detailLevel-12));
- return detailLevel < 12 ? 60.0 * factor : 60.0 / factor;
+ return detailLevel < 12 ? 30.0 * factor : 30.0 / factor;
}
qreal NodeReducer::epsilonForArea(int detailLevel) const
{
int const factor = 1 << (qAbs(detailLevel-12));
- return detailLevel < 12 ? 90.0 * factor : 90.0 / factor;
+ return detailLevel < 12 ? 60.0 * factor : 60.0 / factor;
}
qreal NodeReducer::perpendicularDistance(const GeoDataCoordinates &a, const GeoDataCoordinates &b, const GeoDataCoordinates &c) const