summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-11-01 14:59:46 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-11-05 16:49:28 (GMT)
commitdc93df25478d0b61f8d9d7d82be26e8181f809ab (patch)
tree25cdc04f760d5646deecda28d673776b2c871c9a
parent6e53a7877daffdbeca077b6df8644e2781ff882b (diff)
Fix tile creation with extensions other than o5m.
-rw-r--r--tools/vectorosm-tilecreator/TileDirectory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vectorosm-tilecreator/TileDirectory.cpp b/tools/vectorosm-tilecreator/TileDirectory.cpp
index 916b6e3..3e447c1 100644
--- a/tools/vectorosm-tilecreator/TileDirectory.cpp
+++ b/tools/vectorosm-tilecreator/TileDirectory.cpp
@@ -84,7 +84,7 @@ QSharedPointer<GeoDataDocument> TileDirectory::load(int zoomLevel, int tileX, in
m_tileX = tile.x();
m_tileY = tile.y();
- QString const filename = QString("%1/%2/%3.%4").arg(m_baseDir).arg(tile.x()).arg(tile.y()).arg(m_extension);
+ QString const filename = QString("%1/%2/%3.%4").arg(m_baseDir).arg(tile.x()).arg(tile.y()).arg("o5m");
m_landmass = open(filename, m_manager);
return m_landmass;
}