From daad48126175007d158d846fa4c27ed0e03fa453 Mon Sep 17 00:00:00 2001 From: Benedikt Schwab Date: Mon, 16 Oct 2023 16:41:02 +0200 Subject: [PATCH] enabled output compression --- .../io/rtron/main/processor/OpendriveToCitygmlProcessor.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rtron-main/src/main/kotlin/io/rtron/main/processor/OpendriveToCitygmlProcessor.kt b/rtron-main/src/main/kotlin/io/rtron/main/processor/OpendriveToCitygmlProcessor.kt index 15612320..59b73d7b 100644 --- a/rtron-main/src/main/kotlin/io/rtron/main/processor/OpendriveToCitygmlProcessor.kt +++ b/rtron-main/src/main/kotlin/io/rtron/main/processor/OpendriveToCitygmlProcessor.kt @@ -126,7 +126,11 @@ class OpendriveToCitygmlProcessor( citygmlModelResult.second.serializeToJsonFile(outputSubDirectoryPath / ROADSPACES_TO_CITYGML_REPORT_PATH) // write CityGML model - CitygmlWriter.writeToFile(citygmlModelResult.first, parameters.getCitygmlWriteVersion(), outputSubDirectoryPath / "citygml_model.gml") + CitygmlWriter.writeToFile( + citygmlModelResult.first, + parameters.getCitygmlWriteVersion(), + outputSubDirectoryPath / ("citygml_model.gml" + parameters.compressionFormat.toFileExtension()) + ) } }