Combo Overlay: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
[[File:Combo_overlay_example1.jpg|thumb|250px|left|A Combo Overlay, combining a [[Rainfall Overlay]] with two [[Average Overlay]]s (NORMAL and SOCIAL), using only the highest values in the last time frame.]]
The Combo Overlay is a [[Grid Overlay]] which can be used to create additional spatial calculation models. Up to three [[prequel|input Overlay]]s can be selected which serve as input for the calculations. A large set of functions and operators are available which can then perform the desired computations.
Combo Overlays can take any [[Grid Overlay]] as [[prequel|input]]. It is often combined with one or more [[Average Overlay]]s or [[Distance Overlay]]s. The Combo Overlay can also use the results of more complex calculation models, such as the [[Water Overlay]] or the [[Heat Overlay]] to further process the computed results of those models. Finally, Combo Overlays can also refer to other Combo Overlays, to create even more powerful, varied, and complex spatial calculation models.


[[File:Combo_overlay_example1.jpg|thumb|250px|left|A combo overlay, combining a [[Rainfall Overlay]] with two [[Average Overlay]]s (NORMAL and SOCIAL), using only the highest values in the last time frame.]]
The combo overlay is a [[Grid Overlay]] which can combine up to three [[Grid Overlay]]s with boolean operators and use these overlays as input arguments functions and operators. The list of available functions and operators is given in the chapter below. Combo overlays can also take other combo overlays as input. Another powerful combination is the use of combo overlays with [[Average Overlay]]s (with or without an average distance).
{{clear}}
{{clear}}


Line 49: Line 52:
}}
}}


==Input overlays and timeframes==
==Inputs==
* Up to three overlays can be configured as input for the combo overlay. They are referenced as A, B and C.
* Up to three overlays can be configured as input for the combo overlay. They are referenced as A, B and C.
* You can use [[Global]]s in a formula.
* You can use [[Global]]s in a formula.


===Timeframes===
===Timeframes===
When an input Overlay has multiple [[Timeframe]]s, additional syntax is available to specify the intended timeframes.
When an [[prequel|input Overlay]] has multiple [[Timeframe]]s, additional syntax is available to specify the intended timeframes.


{|class=wikitable
{|class=wikitable
Line 92: Line 95:
|}
|}


A [[Combo Overlay]] automatically computes the amount of [[timeframe]]s it requires, based on whether (and which of) its input Overlays are references with a "T" syntax.
A Combo Overlay automatically computes the amount of [[timeframe]]s it requires, based on whether (and which of) its input Overlays are references with a "T" syntax.


==Examples==
==Examples==
Line 100: Line 103:


{{article end
{{article end
|notes=
* When multiple input Overlays are referenced with a "T" syntax and those have varying amounts of [[timeframe]]s, the maximum amount of timeframes among those input Overlays is used.
* When the "T" syntax is used to refer to an input Overlay with fewer [[timeframe]]s than the Combo Overlay itself, any [[timeframe]] referenced via the "T" syntax beyond what the input Overlay offers uses whichever value the last [[timeframe]] of that input Overlay had. I.e. if a [[Water Overlay]] has 10 [[timeframe]]s but the Combo Overlay attempts to compute an 11th [[timeframe]] and beyond, the value from the last (10th) [[timeframe]] of the [[Water Overlay]] is used.
|howtos=
|howtos=
* [[How to add and remove an Overlay]]
* [[How to add and remove an Overlay]]

Revision as of 15:07, 19 January 2022

A Combo Overlay, combining a Rainfall Overlay with two Average Overlays (NORMAL and SOCIAL), using only the highest values in the last time frame.

The Combo Overlay is a Grid Overlay which can be used to create additional spatial calculation models. Up to three input Overlays can be selected which serve as input for the calculations. A large set of functions and operators are available which can then perform the desired computations.

Combo Overlays can take any Grid Overlay as input. It is often combined with one or more Average Overlays or Distance Overlays. The Combo Overlay can also use the results of more complex calculation models, such as the Water Overlay or the Heat Overlay to further process the computed results of those models. Finally, Combo Overlays can also refer to other Combo Overlays, to create even more powerful, varied, and complex spatial calculation models.

Operators

In the table below are the operators displayed that are supported by the combo overlay. The term argument refers to a grid overlay configured as input, a numerical value or a global name.

Inputs

  • Up to three overlays can be configured as input for the combo overlay. They are referenced as A, B and C.
  • You can use Globals in a formula.

Timeframes

When an input Overlay has multiple Timeframes, additional syntax is available to specify the intended timeframes.

Syntax Meaning Example Effect
A The (last) value from Overlay A MUL(A, 10) Assuming:

Will show the height of the water at the end of the calculation in cm (rather than m).

A2 The third timeframe's value from Overlay A GT(A2, 38) Assuming:

Will indicate whether any given location is (1) or is not (0) hotter than 38 °C, on the third computed timeframe of the Heat Overlay.

A0:2 The values from the first through third timeframes from Overlay A, as a list of inputs AVG(A0:2) Assuming:

Will show the average of the computed temperatures of the first three timeframes of the Heat Overlay.

AT For each timeframe of the Combo Overlay, the value from that same timeframe from Overlay A, as individual inputs.

This will cause the Combo Overlay to have at least as many timeframes as Overlay A.

MUL(AT, 10) Assuming:

Will show the height of the water at each timeframe of the Water Overlay's calculations in cm (rather than m).

A Combo Overlay automatically computes the amount of timeframes it requires, based on whether (and which of) its input Overlays are references with a "T" syntax.

Examples

Notes

  • When multiple input Overlays are referenced with a "T" syntax and those have varying amounts of timeframes, the maximum amount of timeframes among those input Overlays is used.
  • When the "T" syntax is used to refer to an input Overlay with fewer timeframes than the Combo Overlay itself, any timeframe referenced via the "T" syntax beyond what the input Overlay offers uses whichever value the last timeframe of that input Overlay had. I.e. if a Water Overlay has 10 timeframes but the Combo Overlay attempts to compute an 11th timeframe and beyond, the value from the last (10th) timeframe of the Water Overlay is used.

How-to's

Videos

Example of the Combo overlay in the Tygron Platform. (In dutch)
Testing a parametric design on environmental criteria in the Tygron Platform. (In dutch)