From a286c714e5ef35c4f4a4c4e18b9fd0859f1ed27c Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Wed, 28 Nov 2018 09:33:56 +0100 Subject: [PATCH] BUG: missing ComplexImage params in QGis wrapper Even if these parameters are deprecated, the generator should at least recognize them and treat them as normal images --- Modules/Wrappers/QGIS/src/otbQgisDescriptor.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/Wrappers/QGIS/src/otbQgisDescriptor.cxx b/Modules/Wrappers/QGIS/src/otbQgisDescriptor.cxx index a33f61dc7a..20f09fef4e 100644 --- a/Modules/Wrappers/QGIS/src/otbQgisDescriptor.cxx +++ b/Modules/Wrappers/QGIS/src/otbQgisDescriptor.cxx @@ -72,6 +72,8 @@ int main(int argc, char* argv[]) parameterTypeToString[ParameterType_OutputVectorData] = "QgsProcessingParameterVectorDestination"; parameterTypeToString[ParameterType_OutputFilename] = "QgsProcessingParameterFileDestination"; parameterTypeToString[ParameterType_Directory] = "QgsProcessingParameterFile"; + parameterTypeToString[ParameterType_ComplexInputImage] = "QgsProcessingParameterRasterLayer"; + parameterTypeToString[ParameterType_ComplexOutputImage] = "QgsProcessingParameterRasterDestination"; // TODO parameterTypeToString[ParameterType_StringList] = "QgsProcessingParameterString"; // ListView parameters are treated as plain string (QLineEdit) in qgis processing ui. -- GitLab