summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-10-02 16:37:18 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-10-02 16:37:18 (GMT)
commit1fbaba73adc21a338872f2ecf7c6baa322499c52 (patch)
treed4f50df38b204df9f9b578961b90739fc9c391c4
parent7360d426783a5f9d581593717afd937e563ee8ad (diff)
Grant osmconvert more time to finish
-rw-r--r--tools/vectorosm-tilecreator/TileDirectory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/vectorosm-tilecreator/TileDirectory.cpp b/tools/vectorosm-tilecreator/TileDirectory.cpp
index aad3917..de4593b 100644
--- a/tools/vectorosm-tilecreator/TileDirectory.cpp
+++ b/tools/vectorosm-tilecreator/TileDirectory.cpp
@@ -364,7 +364,7 @@ void TileDirectory::createTiles() const
QProcess osmconvert;
osmconvert.start("osmconvert", QStringList() << "--drop-author" << "--drop-version"
<< "--complete-ways" << "--complex-ways" << bbox << output << m_inputFile);
- osmconvert.waitForFinished();
+ osmconvert.waitForFinished(10*60*1000);
if (osmconvert.exitCode() != 0) {
qWarning() << osmconvert.readAllStandardError();
qWarning() << "osmconvert failed: " << osmconvert.errorString();
@@ -440,7 +440,7 @@ GeoDataLatLonBox TileDirectory::boundingBox(const QString &filename) const
{
QProcess osmconvert;
osmconvert.start("osmconvert", QStringList() << "--out-statistics" << filename);
- osmconvert.waitForFinished();
+ osmconvert.waitForFinished(10*60*1000);
QStringList const output = QString(osmconvert.readAllStandardOutput()).split('\n');
GeoDataLatLonBox boundingBox;
foreach(QString const &line, output) {