Skip to content

Commit ae78d21

Browse files
Start overpass source to fetch after raw data api supported formats
1 parent ac17c36 commit ae78d21

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tasks/task_runners.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -776,12 +776,6 @@ def add_metadata(z, theme):
776776
use_curl=True,
777777
mapping=mapping_filter,
778778
)
779-
if use_only_galaxy == False:
780-
LOG.debug("Source start for run: {0}".format(run_uid))
781-
source_path = source.path()
782-
LOG.debug("Source end for run: {0}".format(run_uid))
783-
784-
h.apply_file(source_path, locations=True, idx="sparse_file_array")
785779

786780
bundle_files = []
787781

@@ -938,6 +932,13 @@ def add_metadata(z, theme):
938932
stop_task("mbtiles")
939933
raise ex
940934

935+
if use_only_galaxy == False:
936+
LOG.debug("Source start for run: {0}".format(run_uid))
937+
source_path = source.path()
938+
LOG.debug("Source end for run: {0}".format(run_uid))
939+
940+
h.apply_file(source_path, locations=True, idx="sparse_file_array")
941+
941942
if "garmin_img" in export_formats:
942943
start_task("garmin_img")
943944
try:

0 commit comments

Comments
 (0)