-
-
Notifications
You must be signed in to change notification settings - Fork 709
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
Calculate expression added to modeler tools #8550
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@selmaVH1 what do you think about adding the other comments in the issue report. While not specifically in the code, it helps understand why and when to use it, hence probably helpful for many users. I'm referring to
It avoids the need to use the same expression multiple times throughout a model if the same result needs to be used more than once, and also permits use cases which otherwise are not possible (e.g. generating a timestamp value once and then reusing this throughout a model -- if every use recalculated the timestamp then the values would differ during the model's runtime)
|
||
Calculate expression | ||
-------------------- | ||
Calculate the results of a QGIS expression and make |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calculate the results of a QGIS expression and make | |
|334| | |
Calculates the result of a QGIS expression and makes |
and mention substitution at the end of file.
- Name | ||
- Type | ||
- Description | ||
* - **Field** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* - **Field** | |
* - **Input** |
* - **Output** | ||
- ``Value`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* - **Output** | |
- ``Value`` | |
* - **Value** | |
- ``OUTPUT`` |
I think there is a switch here (https://github.com/qgis/QGIS/pull/54358/files#diff-dc398bcb04bd91d852555624aeccefce91fe509dc7ad879ba12ce978d67fa238R82)
fixes #8474