diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx index 96a29b05157528fb6e659a882500c1d9c75eb66b..9cdfa1e1d841dd1a4c2f8693b342bc3dd6c72c63 100644 --- a/Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx @@ -909,36 +909,6 @@ void Application::WriteOutput() outputParam->Write(); } } - else if (GetParameterType(key) == ParameterType_ComplexOutputImage - && IsParameterEnabled(key) && HasValue(key) ) - { - Parameter* param = GetParameterByKey(key); - ComplexOutputImageParameter* outputParam = dynamic_cast<ComplexOutputImageParameter*>(param); - - if(outputParam!=nullptr) - { - outputParam->InitializeWriters(); - if (useRAM) - { - outputParam->SetRAMValue(ram); - } - std::ostringstream progressId; - progressId << "Writing " << outputParam->GetFileName() << "..."; - AddProcess(outputParam->GetWriter(), progressId.str()); - outputParam->Write(); - } - } - //xml writer parameter - else if (m_HaveOutXML && GetParameterType(key) == ParameterType_OutputProcessXML - && IsParameterEnabled(key) && HasValue(key) ) - { - Parameter* param = GetParameterByKey(key); - OutputProcessXMLParameter* outXMLParam = dynamic_cast<OutputProcessXMLParameter*>(param); - if(outXMLParam!=nullptr) - { - outXMLParam->Write(this); - } - } } }