kopia lustrzana https://github.com/kartoza/docker-osm
fix logic on first run for importing data
rodzic
55605baa56
commit
9b88e8bfe7
|
@ -337,8 +337,12 @@ class Importer(object):
|
|||
|
||||
if osm_clip_table != 1:
|
||||
self._import_clip_function()
|
||||
self.import_clip_in_db()
|
||||
self.perform_clip_in_db()
|
||||
if not self.clip_shape_file:
|
||||
msg = 'clip.shp is missing'
|
||||
self.error(msg)
|
||||
else:
|
||||
self.import_clip_in_db()
|
||||
self.perform_clip_in_db()
|
||||
if self.qgis_style:
|
||||
self.import_qgis_styles()
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue