Bug report #21373
OTB: Segmentation not working
|Affected QGIS version:||3.7(master)||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||up/downstream|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||29190|
Segmentation, all default params fails because of a missing compulsory `Condition` parameter, which I cannot find in the interface.
Parameters are marked required in descriptor file for certian
applications but they are only required if a parent parameter has a
"certain" value. So initial idea was to make all of those parameters
optional from OTB part. So that qgis can work correctly and was a easy
fix. But.. we (me and Antonie) decided not to take that route and
found a better fix.
`OtbParameterChoice` and its wrapper will update optional status of
all sub-parameters depending on the value of a choice parameter.
A test has been added to check this issue and will be available in
#3 Updated by Antoine Regimbeau about 1 year ago
This is a known problem in OTB. It will be fixed in the next release. For more information see https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues/1814.