From 2b23648784ba6f83cb618dadd3b863a4358bd4c8 Mon Sep 17 00:00:00 2001 From: OTB Bot <otbbot@orfeo-toolbox.org> Date: Sun, 1 May 2011 08:30:28 +0200 Subject: [PATCH] STYLE --- Utils/otbKmzExport.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Utils/otbKmzExport.cxx b/Utils/otbKmzExport.cxx index 46c7aec9cd..20159d69a5 100644 --- a/Utils/otbKmzExport.cxx +++ b/Utils/otbKmzExport.cxx @@ -29,11 +29,11 @@ int KmzExport::Describe(ApplicationDescriptor* descriptor) { descriptor->SetName("KmzExport"); descriptor->SetDescription("Chain that Estimate a sensor model in order to export the input image to Google Earth understandable format Kmz"); - descriptor->AddInputImage(); - descriptor->AddOption("OutputProductName", "Output Kmz product", "kmz", 1, true,ApplicationDescriptor::InputImage); - descriptor->AddOption("TileSize", "Set the size of the tiles", "s", 1, false,ApplicationDescriptor::Integer); - descriptor->AddOption("LogoImage", "Add a logo to the final Kmz", "lo", 1, false,ApplicationDescriptor::FileName); - descriptor->AddOption("LegendImage", "Add a legend to the image exported", "le", 1, false,ApplicationDescriptor::FileName); + descriptor->AddInputImage(); + descriptor->AddOption("OutputProductName", "Output Kmz product", "kmz", 1, true, ApplicationDescriptor::InputImage); + descriptor->AddOption("TileSize", "Set the size of the tiles", "s", 1, false, ApplicationDescriptor::Integer); + descriptor->AddOption("LogoImage", "Add a logo to the final Kmz", "lo", 1, false, ApplicationDescriptor::FileName); + descriptor->AddOption("LegendImage", "Add a legend to the image exported", "le", 1, false, ApplicationDescriptor::FileName); return EXIT_SUCCESS; } @@ -73,9 +73,9 @@ int KmzExport::Execute(otb::ApplicationOptionsResult* parseResult) ReaderType::Pointer legendReader = ReaderType::New(); legendReader->SetFileName(parseResult->GetParameterString("LegendImage")); legendReader->Update(); - kmzWriter->AddLegend("Input Legend",legendReader->GetOutput()); + kmzWriter->AddLegend("Input Legend", legendReader->GetOutput()); kmzWriter->AddLegend(legendReader->GetOutput()); - } + } // trigger the writing kmzWriter->Update(); -- GitLab