-
-
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -14,6 +14,58 @@ Modeler tools | |||||||||
:class: toc_columns | ||||||||||
|
||||||||||
|
||||||||||
.. _qgiscalculateexpression: | ||||||||||
|
||||||||||
Calculate expression | ||||||||||
-------------------- | ||||||||||
Calculate the results of a QGIS expression and make | ||||||||||
the result available for use in other parts of the model. | ||||||||||
|
||||||||||
Parameters | ||||||||||
.......... | ||||||||||
|
||||||||||
.. list-table:: | ||||||||||
:header-rows: 1 | ||||||||||
:widths: 20 20 20 40 | ||||||||||
|
||||||||||
* - Label | ||||||||||
- Name | ||||||||||
- Type | ||||||||||
- Description | ||||||||||
* - **Field** | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
- ``INPUT`` | ||||||||||
- [expression] | ||||||||||
- Expression to calculate | ||||||||||
|
||||||||||
Outputs | ||||||||||
....... | ||||||||||
|
||||||||||
.. list-table:: | ||||||||||
:header-rows: 1 | ||||||||||
:widths: 20 20 20 40 | ||||||||||
|
||||||||||
* - Label | ||||||||||
- Name | ||||||||||
- Type | ||||||||||
- Description | ||||||||||
* - **Output** | ||||||||||
- ``Value`` | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
I think there is a switch here (https://github.com/qgis/QGIS/pull/54358/files#diff-dc398bcb04bd91d852555624aeccefce91fe509dc7ad879ba12ce978d67fa238R82) |
||||||||||
- [Result Value] | ||||||||||
- Calculated result value, the data type of the | ||||||||||
output will vary based on the specific expression used | ||||||||||
in the algorithm. | ||||||||||
|
||||||||||
Python code | ||||||||||
........... | ||||||||||
|
||||||||||
**Algorithm ID**: ``native:calculateexpression`` | ||||||||||
|
||||||||||
.. include:: ../algs_include.rst | ||||||||||
:start-after: **algorithm_code_section** | ||||||||||
:end-before: **end_algorithm_code_section** | ||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
.. _qgiscondition: | ||||||||||
|
||||||||||
Conditional branch | ||||||||||
|
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.
and mention substitution at the end of file.