summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-07-16 13:32:28 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-07-16 13:32:28 (GMT)
commit0fc8bd3168b8ba5390955d6e365360332a4e5d97 (patch)
tree4b35049f6d4a190a57c1ced42f0b3d61a6758fa9
parent4f3641515abf053748f5f1d453f85803acbc54a4 (diff)
Another cache directory fix
-rwxr-xr-xtools/vectortilecreator/vectortilecreator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vectortilecreator/vectortilecreator.py b/tools/vectortilecreator/vectortilecreator.py
index bc61ba9..45313e8 100755
--- a/tools/vectortilecreator/vectortilecreator.py
+++ b/tools/vectortilecreator/vectortilecreator.py
@@ -177,7 +177,7 @@ def run(filenames, cache, refresh, directory, overwrite, zoomLevels):
filterLevel = "levels/{}.level".format(zoom)
if os.path.exists(filterLevel):
call(["osmconvert", "-t={}/osmconvert_tmp-".format(cache), "--complete-ways", "--complex-ways", "--drop-version", boxString, cutted, "-o={}".format(os.path.join(cache, filterTarget))])
- call(["osmfilter", "--parameter-file={}".format(filterLevel), os.path.join(path, filterTarget), "-o={}".format(os.path.join(path, target))])
+ call(["osmfilter", "--parameter-file={}".format(filterLevel), os.path.join(cache, filterTarget), "-o={}".format(os.path.join(path, target))])
os.remove(os.path.join(cache, filterTarget))
else:
call(["osmconvert", "-t={}/osmconvert_tmp-".format(cache), "--complete-ways", "--complex-ways", "--drop-version", boxString, cutted, "-o={}".format(os.path.join(path, target))])