Bug report #20914

Reclassify by table do not work in Processing modeller

Added by Axel Hörteborn over 5 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:Nyall Dawson
Category:Processing/Modeller
Affected QGIS version:3.4.3 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:28733

Description

I'm trying to use the model builder and include the new native "Reclassify by table" algorithm, but I can't get the option to fill in the table that I want to reclassify after in Models.

It works fine if I just use the the algorithm in QGIS (so the workaround is to do this step outside the model).

reclassify_by_table.png - Image of how it looks in the model builder (9.26 KB) Axel Hörteborn, 2019-01-04 07:16 AM

Associated revisions

Revision eeff02fc
Added by Nyall Dawson about 5 years ago

[processing] Port matrix widget wrapper to newer c++ API

Allows matrix parameters to be correctly set for model child algorithms

Fixes #20914

Revision d5900557
Added by Nyall Dawson about 5 years ago

[processing] Port matrix widget wrapper to newer c++ API

Allows matrix parameters to be correctly set for model child algorithms

Fixes #20914

(cherry picked from commit eeff02fc14b96a6d3f95ac2122d1d82654dcf268)

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Operating System deleted (Windows x64)
  • Subject changed from Reclassify by table in models to Reclassify by table do not work in Processing modeller

#2 Updated by Alexander Bruy over 5 years ago

  • Resolution set to invalid
  • Status changed from Open to Rejected

You need to add a parameter for classes in the modeler and fill in it with your values. Then this parameter will be available for selection.

#3 Updated by Nyall Dawson about 5 years ago

  • Status changed from Rejected to Open

Reopening - it should be possible to set a fixed table for use in a child algorithm without exposing this table to users

#4 Updated by Nyall Dawson about 5 years ago

  • Assignee set to Nyall Dawson

#5 Updated by Nyall Dawson about 5 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF