private void download() {
    var timer = stats.startStage("download");
    Downloader downloader = Downloader.create(config());
    for (ToDownload toDownload : toDownload) {
      if (profile.caresAboutSource(toDownload.id)) {
        downloader.add(toDownload.id, toDownload.url, toDownload.path);
      }
    }
    downloader.run();
    timer.stop();
  }
Reads all elements from all sourced that have been added, generates map features according to the profile, and
writes the rendered tiles to the output archive.

@throws IllegalArgumentException if expected inputs have not been provided
planetiler-core/src/main/java/com/onthegomap/planetiler/Planetiler.java