summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-09-25 08:02:03 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-09-25 08:02:03 (GMT)
commite101518d1697756ef209c7ccbd94425bae46e6bd (patch)
tree0b3d80de2d95566088b47f74fae3271a369e4033
parent524b57fce26230093a1ee4e0cd3380ca2a2a41f6 (diff)
Stronger node reduction in higher levels
-rw-r--r--tools/vectorosm-tilecreator/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vectorosm-tilecreator/main.cpp b/tools/vectorosm-tilecreator/main.cpp
index e8b742d..b769592 100644
--- a/tools/vectorosm-tilecreator/main.cpp
+++ b/tools/vectorosm-tilecreator/main.cpp
@@ -359,7 +359,7 @@ int main(int argc, char *argv[])
GeoDataDocument* tile1 = processor.clipTo(zoomLevel, tileId.x(), tileId.y());
GeoDataDocument* tile2 = landMassClipper.clipTo(zoomLevel, tileId.x(), tileId.y());
GeoDataDocument* combined = mergeDocuments(tile1, tile2);
- NodeReducer reducer(combined, zoomLevel+1);
+ NodeReducer reducer(combined, zoomLevel);
if (!writeTile(parser, outputName, combined, tileId.x(), tileId.y(), zoomLevel)) {
return 4;
}