kopia lustrzana https://github.com/kartoza/docker-osm
fixed import error in imposm
rodzic
a465f944b6
commit
d4b7f88d1f
|
@ -303,12 +303,10 @@ class Importer(object):
|
||||||
command += ['-srid', self.default['SRID']]
|
command += ['-srid', self.default['SRID']]
|
||||||
command += ['-diffdir', self.default['SETTINGS']]
|
command += ['-diffdir', self.default['SETTINGS']]
|
||||||
command += ['-mapping', self.mapping_file]
|
command += ['-mapping', self.mapping_file]
|
||||||
command += ['-limitto', self.clip_json_file]
|
|
||||||
command += ['-connection', self.postgis_uri]
|
command += ['-connection', self.postgis_uri]
|
||||||
command += [join(self.default['IMPORT_QUEUE'], diff)]
|
command += [join(self.default['IMPORT_QUEUE'], diff)]
|
||||||
|
|
||||||
self.info(command.extend(args))
|
self.info(command.extend(args))
|
||||||
print(command)
|
|
||||||
if call(command) == 0:
|
if call(command) == 0:
|
||||||
move(
|
move(
|
||||||
join(self.default['IMPORT_QUEUE'], diff),
|
join(self.default['IMPORT_QUEUE'], diff),
|
||||||
|
|
Ładowanie…
Reference in New Issue