Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose per-feature-source advanced options for processing inputs #35292

Merged
merged 15 commits into from Mar 24, 2020

Conversation

nyalldawson
Copy link
Collaborator

Among a ton of cleanups, this PR exposes per-feature-source advanced options, such as:

  • The ability to limit the number of features read from the source. (Useful in model development, you can easily test run models using a small subset of an input layer)
  • The ability to override on a per-input basis the global processing option for how to handle invalid geometries. Now you can safely leave the default processing setting at the conservative "Stop algorithm execution when a geometry is invalid" setting while easily temporarily overriding this for one particular input!

Peek 2020-03-24 16-00

Refs NRCan Contract#3000707093

@nyalldawson nyalldawson added Feature Processing Relating to QGIS Processing framework or individual Processing algorithms labels Mar 24, 2020
@nyalldawson
Copy link
Collaborator Author

Other exciting stuff here includes:

  • more Python -> c++ conversion
  • more unit tests
  • setting up the basis for processing widgets to utilise stacked panels (more use of this is inbound!)
  • a cleanup of the "iterate over input" option, including a new hi-dpi friendly svg icon

@github-actions github-actions bot added this to the 3.14.0 milestone Mar 24, 2020
Copy link
Contributor

@alexbruy alexbruy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow! Very nice feature

@nyalldawson nyalldawson changed the title Panel Expose per-feature-source advanced options for processing inputs Mar 24, 2020
@nyalldawson nyalldawson merged commit ab40162 into qgis:master Mar 24, 2020
@nyalldawson nyalldawson deleted the panel branch April 12, 2020 21:49
@timlinux timlinux added Changelog Items that are queued to appear in the visual changelog - remove after harvesting and removed Changelog Items that are queued to appear in the visual changelog - remove after harvesting labels May 22, 2020
@agiudiceandrea
Copy link
Contributor

It looks like setting the CreateIndividualOutputPerInputFeature flag doesn't work. See: #56610.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants