def download_files(url_list):
  paths = []
  print("DOWNLOADING {} PBFs...".format(len(url_list)))
  t0 = time.time()
  for url in url_list:
    local_filename = url.split('/')[-1]
    full_local_filename = os.path.join(GEO_DATA_DIR, local_filename)
    if not os.path.exists(full_local_filename):
      paths.append(download_file(url))
    else:
      paths.append(full_local_filename)
      print("PBF {} already downloaded".format(full_local_filename))
  if time.time()-t0 > 0.01:
    print("downloads took {0:.1f}s".format(time.time()-t0))
  return paths
dataset/ETHPy150Open trailbehind/DeepOSM/src/download_labels.py/download_files/original