otbApplicationLauncherCommandLine -inxml parameter does not retrieve pixel type for output image parameter
Mantis Issue 803, reported by mgrizonnet, assigned to jmalik, created: 2013-10-24
the expression build in the launcher from the xml does not use retrieve output pixel type from the input xml file
1382704104 - rashadkm try http://hg.orfeo-toolbox.org/OTB/rev/ba7f2d5bb10c
1382712042 - rashadkmreverted the changeset
1383646255 - julienmthe bug does not appear when using : otbcli_Convert -inxml ~/temporary/test.xml
but only when using the "full automatic" mode : otbApplicationLauncherCommandLine -inxml ~/temporary/test.xml
1383646898 - rashadkmwhen calling otbApplicationLauncherCommandLine with -inxml it prepare the expression and then pass the control to CommandLineLauncher so the it works normal. So I would say there is some code duplication. But the actual bug was the output pixel type was only handled by parsing in the inxml parameter class and not in preparing expression when calling otbApplicationLauncherCommandLine. One easy fix was to read the 'pxitype' child node from the parameter node. But the first problem of code duplication still exists.
1383648255 - julienmOK (finally) understood, and agreed with your analysis.
I pushed the easy fix to at least get rid of the