From 445686f6963cd1fc277b1aad496050c87b5ce0e8 Mon Sep 17 00:00:00 2001 From: Irwan Fathurrahman Date: Wed, 29 Jan 2020 19:05:47 +0700 Subject: [PATCH] fix import diff error when clip is turn on (#95) --- docker-imposm3/importer.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-imposm3/importer.py b/docker-imposm3/importer.py index 36bb627..88a08d8 100644 --- a/docker-imposm3/importer.py +++ b/docker-imposm3/importer.py @@ -271,7 +271,8 @@ class Importer(object): command += ['-write', '-connection', self.postgis_uri] self.info('The database is empty. Let\'s import the PBF : %s' % self.osm_file) - self.info(command.extend(args)) + command.extend(args) + self.info(command) if not call(command) == 0: msg = 'An error occured in imposm with the original file.' self.error(msg) @@ -304,9 +305,10 @@ class Importer(object): command += ['-diffdir', self.default['SETTINGS']] command += ['-mapping', self.mapping_file] command += ['-connection', self.postgis_uri] + command.extend(args) command += [join(self.default['IMPORT_QUEUE'], diff)] - self.info(command.extend(args)) + self.info(command) if call(command) == 0: move( join(self.default['IMPORT_QUEUE'], diff),