private RunnableThatThrows ifSourceUsed(String name, RunnableThatThrows task) {
    return () -> {
      if (profile.caresAboutSource(name)) {
        task.run();
      } else {
        LogUtil.setStage(name);
        LOGGER.info("Skipping since profile does not use it");
        LogUtil.clearStage();
      }
    };
  }
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