Bug report #21374

OTB: Large scale meanshift fails

Added by Paolo Cavallini about 5 years ago. Updated about 5 years ago.

Status:Rejected
Priority:Normal
Assignee:Rashad Kanavath
Category:Processing/OTB
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 #:29191

Description

`Large scale meanshift`, all default params, fails with the message:
`raster.out.tif files are not supported as outputs for this algorithm.`

Associated revisions

Revision b12f33ba
Added by Nyall Dawson about 5 years ago

[processing] Fix QgsProcessingProvider::isSupportedOutputValue handling
of optional output parameters

Refs #21374

Revision 2564339e
Added by Nyall Dawson about 5 years ago

[processing] Fix QgsProcessingProvider::isSupportedOutputValue handling
of optional output parameters

Refs #21374

Revision 8cff9419
Added by Nyall Dawson about 5 years ago

[processing] Fix QgsProcessingProvider::isSupportedOutputValue handling
of optional output parameters

Refs #21374

Revision 4e8c94fb
Added by Nyall Dawson about 5 years ago

[processing] Fix QgsProcessingProvider::isSupportedOutputValue handling
of optional output parameters

Refs #21374

Revision f6ad4745
Added by Rashad Kanavath about 5 years ago

fixes #21374: ignore optional output parameters

Revision c763b922
Added by Rashad Kanavath about 5 years ago

fix #21373 #21374: handle update optional status based on user-input

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
next commit.

Revision 122bc2b7
Added by Nyall Dawson about 5 years ago

[processing] Fix QgsProcessingProvider::isSupportedOutputValue handling
of optional output parameters

Refs #21374

History

#1 Updated by Rashad Kanavath about 5 years ago

Paolo Cavallini wrote:

`Large scale meanshift`, all default params, fails with the message:
`raster.out.tif files are not supported as outputs for this algorithm.`

my osgeoid is rashadkm

I will test this locally and let you know

#2 Updated by Paolo Cavallini about 5 years ago

  • Assignee set to Rashad Kanavath

#3 Updated by Antoine Regimbeau about 5 years 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.

#4 Updated by Paolo Cavallini about 5 years ago

  • Resolution set to up/downstream
  • Status changed from Open to Rejected

Thanks

Also available in: Atom PDF