Combo Overlay: Difference between revisions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 151: | Line 151: | ||
|howtos= | |howtos= | ||
==== Basic Configuration & Management ==== | |||
* [[How to add and remove an Overlay]] | * [[How to add and remove an Overlay]] | ||
* [[How to edit a Combo Overlay formula]] | * [[How to edit a Combo Overlay formula]] | ||
* [[How to edit an overlay legend]] | * [[How to edit an overlay legend]] | ||
* [[How to | * [[How to add and remove an Attribute]] | ||
==== Attributes & Metadata Integration ==== | |||
* [[How to use neighborhood attributes in a Combo Overlay]] | * [[How to use neighborhood attributes in a Combo Overlay]] | ||
* [[How to use building attributes in a Combo Overlay]] | * [[How to use building attributes in a Combo Overlay]] | ||
* [[How to visualize the year of construction using an overlay]] | * [[How to visualize the year of construction using an overlay]] | ||
* [[How to | |||
==== Environment, Vegetation & AI ==== | |||
* [[How to use a Infrared WMS to estimate foliage height]] | |||
* [[How to improve the estimated foliage overlay]] | |||
* [[How to create foliage height based on an Inference Overlay]] | |||
* [[How to create the input overlay for leafless trees detection using the Inference Overlay]] | |||
* [[How to create a false-color image for AI training data]] | |||
* [[How to compute the presence of foliage in public spaces]] | |||
* [[How to compute the presence of a minimum amount of green]] | |||
* [[How to compute the presence of features of a particular size]] | |||
* [[How to compute additional shadow effects for the Heat Stress Overlay]] | |||
* [[How to compute residential walls with sight of trees]] | |||
* [[How to select specific input data for AI Inference]] | |||
==== Urban Planning & Mobility ==== | |||
* [[How to create a walkable travel routes prequel Combo Overlay for the Travel Distance Overlay]] | * [[How to create a walkable travel routes prequel Combo Overlay for the Travel Distance Overlay]] | ||
* [[How to create a Grid Overlay for a dynamic traffic model]] | * [[How to create a Grid Overlay for a dynamic traffic model]] | ||
* [[How to create a traffic density Grid Overlay]] | * [[How to create a traffic density Grid Overlay]] | ||
* [[How to create an evacuation routes overlay]] | |||
* [[How to create a flexible Travel Distance Overlay]] | |||
* [[How to compute residences within walking distance of significant usable public green]] | |||
==== Terrain & Physical Mapping ==== | |||
* [[How to adjust the height map with a Combo Overlay]] | |||
* [[How to remove a waterway from the heightmap]] | |||
* [[How to create a heightmap for a new neighborhood]] | |||
* [[How to calculate only a part of the Project map]] | |||
==== Mathematical Logic & Multi-Layer Operations ==== | |||
* [[How to combine results of multiple Overlays as timeframes in a Combo Overlay]] | |||
* [[How to combine multiple calculations into a single result]] | * [[How to combine multiple calculations into a single result]] | ||
* [[How to compute cool locations of sufficient size]] | |||
* [[Combo Overlay with average overlays]] | |||
* [[Combo Overlay with masking]] | |||
* [[Combo Overlay with distance filtering]] | |||
==== GIS & Technical Data Handling ==== | |||
* [[How to convert specific values from a Float32 result WMS Overlay to NO_DATA]] | |||
* [[How to combine GeoTIFFs on the Geoshare into a single Grid Overlay using WMS Overlays]] | |||
* [[How to make a Grid Overlay of residences]] | |||
* [[How to make a Grid Overlay of residence walls]] | |||
* [[How to rasterize walls for grid calculations]] | |||
* [[How to add Subsidence (Water Overlay)]] | * [[How to add Subsidence (Water Overlay)]] | ||
|seealso= | |seealso= | ||
* [[Combo Overlay tutorial]] | * [[Combo Overlay tutorial]] | ||
Latest revision as of 14:24, 20 November 2026

The Combo Overlay is a Grid Overlay which can be used to create additional spatial calculation models. Up to ten input Overlays can be selected in combination with an attribute and Globals 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 Travel Distance Overlays. The Combo Overlay can also use the results of more complex calculation models, such as the Water Overlay or the Heat Stress Overlay to further process the computed results of those models. Finally, Combo Overlays can also refer to other Combo Overlays, to create more 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.
| Name | Arguments | Type | Displays |
|---|---|---|---|
| SIN | Single | Function | Sine function |
| COS | Single | Function | Cosine function |
| TAN | Single | Function | Tangent function |
| ASIN | Single | Function | Arc sine function |
| ACOS | Single | Function | Arc cosine function |
| ATAN | Single | Function | Arc tangent function |
| ROUND | Single | Function | Round function |
| FLOOR | Single | Function | Floor function |
| CEIL | Single | Function | Ceil function |
| ABS | Single | Function | Absolute function |
| EXP | Single | Function | Exponential function |
| LN | Single | Function | The natural logarithm (base e) function |
| LOG | Single | Function | The common logarithm (base 10) function |
| SQRT | Single | Function | The square root function |
| RANDOM | Single | Function | The random function, which returns a number greater than or equal to 0.0 and less than the provided argument |
| ERF | Single | Function | The gauss error function, for probability calculations. |
| ADD | Multi | Operator | Add one or more argument |
| MULT | Multi | Operator | Multiply one or more arguments |
| SUB | Multi | Operator | Subtract one or more arguments from the first argument |
| DIV | Multi | Operator | Divide the first argument with one or more other arguments |
| MIN | Multi | Function | Returns the smallest of the provided arguments. That is, the result is the argument closest to negative infinity. |
| MAX | Multi | Function | Returns the largest of the provided arguments. That is, the result is the argument closest to positive infinity. |
| AVG | Multi | Function | Returns the arithmetic mean of the provided arguments. |
| POW | Multi | Function | Raises the first argument to the power of the consecutive arguments. For example 2 to the power 3 to the power 4. |
| IF | Multi | Function | Takes 3 arguments. If first argument is true (numerical value exactly 1), it returns the second argument, else it returns the third argument. |
| AND | Multi | Boolean | Returns 1.0 if all arguments are not equal to 0.0. |
| OR | Multi | Boolean | Returns 1.0 if any argument is not equal to 0.0. |
| GTE | Pair | Boolean | Returns 1.0 if the first argument is larger than or equal to the second argument, else returns 0.0. |
| GT | Pair | Boolean | Returns 1.0 if the first argument is larger than the second argument, else returns 0.0. |
| LTE | Pair | Boolean | Returns 1.0 if the first argument is smaller than or equal to the second argument, else returns 0.0. |
| LT | Pair | Boolean | Returns 1.0 if the first argument is smaller than the second argument, else returns 0.0. |
| NEQ | Pair | Boolean | Returns 1.0 if the first argument is not equal to the second argument, else returns 0.0. |
| EQ | Pair | Boolean | Returns 1.0 if the first argument is equal to second argument, else returns 0.0. |
| PERCENTILE | Multi | Function | Calculates the linear interpolated k-th percentile (value between 0 and 1) of the sorted array of provided arguments. The last provided argument should be the percentile. |
| AVG_GTE_PERCENTILE | Multi | Function | Calculates the average of the provided arguments which are above the calculated linear interpolated k-th percentile (value between 0 and 1). The last provided argument should be the percentile. |
| AVG_LTE_PERCENTILE | Multi | Function | Calculates the average of the provided arguments which are below the calculated linear interpolated k-th percentile (value between 0 and 1). The last provided argument should be the percentile. |
| SWITCH | Multi | Function | Switch-case function. First argument is the testable expression. Second argument is the default result. Each next pair of 2 arguments is a case value and a result value. When a pair's first argument matches the initial expression, that pair's second argument is returned. If no case matches, the default result is returned. |
| COLOR | Constant | Function | Create a color given a red, green and blue value. A fourth alpha value is optional. |
| RED | Constant | Function | Get a red channel value (0-255) for a legend color or pixel value. |
| GREEN | Constant | Function | Get a green channel value (0-255) for a legend color or pixel value. |
| BLUE | Constant | Function | Get a blue channel value (0-255) for a legend color or pixel value. |
| ALPHA | Constant | Function | Get an alpha channel value (0-255) for a legend color or pixel value. |
| NO_DATA | Constant | Constant | The NO_DATA value for grid data, indicating no data exists. |
| DX | Constant | Constant | The cell size in meters of this Combo Overlay. |
| ITERATION | Constant | Constant | The currently active Iteration |
Inputs
- Up to ten Overlays can be configured as input for the Combo Overlay. These prequels are referenced as A, B, C, etc.
- You can use Globals in a formula. This can be done by starting the statement with GLOBAL_. For example a Global named TEST would become: GLOBAL_TEST.
- You can also use the ATTRIBUTE statement in a formula. This input statement will rasterize attribute values from the polygon items located in each grid cell. For example by setting the ATTRIBUTE to Single layer: Building: FOO, will retrieve the FOO attribute value of a building in the grid cell. When there is no Building or no FOO attribute it will fallback to the specified ATTRIBUTE_DEFAULT_VALUE.
Rasterized Vector data
The Vector data that is rasterized is determined by two values: the configured layer Maplink (Combo Overlay) of the Combo overlay and the configured Rasterization. When the MapLink layer is set to a specific MapLink, only that type of data is rasterized.
The Combo Overlay currently supports the following MapLinks (in order): Net Lines, Addresses, Buildings, Terrains, Areas, Neighborhoods.
| Icon | Property | Description | Default value |
|---|---|---|---|
| |
Rasterization | The rasterization method of a Combo Overlay | SINGLE_LAYER |
| |
Maplink | The Maplink (layer) used to select a Key when rasterizing a Combo Overlay | None (null) |
Keys
These are all the keys that can be configured for the Combo Overlay. Each can be accessed using the '@' sign in front of the key name. For example '@A' accesses the attribute stored under key A.
| Icon | Key | Unit | Range | Description | Default value |
|---|---|---|---|---|---|
| A | -3.4028235E38 to 3.4028235E38 | Attribute stored under key A will be used to retrieve a value from one or more Layers for a specific grid cell. | 0 | ||
| B | -3.4028235E38 to 3.4028235E38 | Attribute stored under key B will be used to retrieve a value from one or more Layers for a specific grid cell. | 0 | ||
| C | -3.4028235E38 to 3.4028235E38 | Attribute stored under key C will be used to retrieve a value from one or more Layers for a specific grid cell. | 0 | ||
| D | -3.4028235E38 to 3.4028235E38 | Attribute stored under key D will be used to retrieve a value from one or more Layers for a specific grid cell. | 0 | ||
| E | -3.4028235E38 to 3.4028235E38 | Attribute stored under key E will be used to retrieve a value from one or more Layers for a specific grid cell. | 0 | ||
| F | -3.4028235E38 to 3.4028235E38 | Attribute stored under key F will be used to retrieve a value from one or more Layers for a specific grid cell. | 0 | ||
| G | -3.4028235E38 to 3.4028235E38 | Attribute stored under key G will be used to retrieve a value from one or more Layers for a specific grid cell. | 0 | ||
| H | -3.4028235E38 to 3.4028235E38 | Attribute stored under key H will be used to retrieve a value from one or more Layers for a specific grid cell. | 0 | ||
| I | -3.4028235E38 to 3.4028235E38 | Attribute stored under key I will be used to retrieve a value from one or more Layers for a specific grid cell. | 0 | ||
| J | -3.4028235E38 to 3.4028235E38 | Attribute stored under key J will be used to retrieve a value from one or more Layers for a specific grid cell. | 0 |
Timeframes

When an input Overlay has multiple Timeframes, additional syntax is available to specify the intended timeframes.
Timeframes are 0-indexed, meaning they start counting at 0. The first timeframe is 0, the second timeframe is 1, the tenth timeframe is 9, etc.
| Syntax | Meaning | Example | Effect |
|---|---|---|---|
| A | The (last) value from Overlay A | MUL(A, 100) | 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 Stress 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 Stress 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, 100) | 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 the following:
- The amount of timeframes of Input Overlays which are referenced in the formula using the T syntax.
- The amount of values in Globals which are referenced in the formula. (Globals are automatically interpreted as a Global array.)
The highest found value among all those dictates the amount of Timeframes the Combo Overlay has.
Attributes
The Combo Overlay has the following model attributes:
| Icon | Attribute | Unit | Range | Description | Default value |
|---|---|---|---|---|---|
| |
ATTRIBUTE_DEFAULT_VALUE | - | The default value for the ATTRIBUTE statement in the Combo Overlay when no items can be found. | 0 | |
| |
ATTRIBUTE_SURFACE_ONLY | Boolean | 0 to 1 | When true (1), only surface items (e.g., Buildings) are used as values for the ATTRIBUTE statement in the Combo Overlay. | 0 |
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.
- Biodiversity analysis: bats (Dutch only):
How-to's
Basic Configuration & Management
- How to add and remove an Overlay
- How to edit a Combo Overlay formula
- How to edit an overlay legend
- How to add and remove an Attribute
Attributes & Metadata Integration
- How to use neighborhood attributes in a Combo Overlay
- How to use building attributes in a Combo Overlay
- How to visualize the year of construction using an overlay
Environment, Vegetation & AI
- How to use a Infrared WMS to estimate foliage height
- How to improve the estimated foliage overlay
- How to create foliage height based on an Inference Overlay
- How to create the input overlay for leafless trees detection using the Inference Overlay
- How to create a false-color image for AI training data
- How to compute the presence of foliage in public spaces
- How to compute the presence of a minimum amount of green
- How to compute the presence of features of a particular size
- How to compute additional shadow effects for the Heat Stress Overlay
- How to compute residential walls with sight of trees
- How to select specific input data for AI Inference
Urban Planning & Mobility
- How to create a walkable travel routes prequel Combo Overlay for the Travel Distance Overlay
- How to create a Grid Overlay for a dynamic traffic model
- How to create a traffic density Grid Overlay
- How to create an evacuation routes overlay
- How to create a flexible Travel Distance Overlay
- How to compute residences within walking distance of significant usable public green
Terrain & Physical Mapping
- How to adjust the height map with a Combo Overlay
- How to remove a waterway from the heightmap
- How to create a heightmap for a new neighborhood
- How to calculate only a part of the Project map
Mathematical Logic & Multi-Layer Operations
- How to combine results of multiple Overlays as timeframes in a Combo Overlay
- How to combine multiple calculations into a single result
- How to compute cool locations of sufficient size
- Combo Overlay with average overlays
- Combo Overlay with masking
- Combo Overlay with distance filtering
GIS & Technical Data Handling
- How to convert specific values from a Float32 result WMS Overlay to NO_DATA
- How to combine GeoTIFFs on the Geoshare into a single Grid Overlay using WMS Overlays
- How to make a Grid Overlay of residences
- How to make a Grid Overlay of residence walls
- How to rasterize walls for grid calculations
- How to add Subsidence (Water Overlay)
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)
See also
API Endpoints
- Api session event editor overlay set rasterization
- Api session event editor overlay set result type
- Api session event editor overlay set attribute
- Api session event editor overlay set combo formula
- Api session event editor overlay set prequel
- Api session event editor overlay set key value
- Web overlay
- Web overlays
- Web wms
