use of org.openstreetmap.atlas.generator.tools.spark.utilities.SparkFileOutput in project atlas-checks by osmlab.
the class IntegrityCheckSparkJob method writeAtlas.
private static void writeAtlas(final Atlas atlas, final String country, final SparkFilePath output, final SparkFileHelper fileHelper) {
final String fileName = String.format("%s_%s", country, atlas.getName());
final SparkFileOutput file = SparkFileOutput.from(atlas::save, output, fileName, INTERMEDIATE_ATLAS_EXTENSION, "Intermediate Atlas");
fileHelper.save(file);
}
Aggregations