Average Overlay: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
 
(87 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[File:Average_overlay_example.JPG|thumb|250px|left|The Average Overlay of the urbanization attribute.]]
[[File:Average_overlay_example.JPG|thumb|250px|left|The Average Overlay of the urbanization attribute.]]
The Average Overlay is a multi purpose [[Grid overlay|Grid Overlay]] which displays (smoothed) values. These values can originate from 2D spatial objects, such as buildings, terrains, areas or neighborhoods. The values can also originate from an other [[Grid Overlay]].
The Average Overlay is a multi purpose [[Grid overlay|Grid Overlay]] which displays (smoothed) values. These values can originate from spatial features, such as [[building]]s, [[terrain]]s, [[area]]s and [[neighborhood]]s. Alternatively, the values can originate from another [[Grid Overlay]].


Another typical use-case of the Average Overlay is to visualize parameters of a simulation model (e.g. the [[Rainfall _(Overlay)|rainfall overlay]]). A parameter assigned to a grid-cell can be related to one or more layers of the 3D model: [[Constructions|Buildings]], [[Address|Addresses]], [[Terrains]], [[Areas]], [[Neighborhoods]] and [[Net Lines]].
====Spatial Features====
A parameter assigned to a grid-cell can be related to one or more types of features in the [[project map]]: [[Building]]s, [[Address]]es, [[Terrain]]s, [[Area]]s, [[Neighborhood]]s and [[Net Line]]s. The way this value is selected depends on the [[Average Overlay#Averaged Input Type|Averaged Input Type]] and [[Average Overlay#Calculation|calculation parameters]].


Thirdly the Average overlay supports replacing {{nodata}} values with interpolated non {{nodata}} values using surrounding cells within a specified distance.
====Interpolate NODATA====
The Average overlay can also be [[Avg interpolated result type (Average Overlay)|configured]] to replace {{nodata}} values with interpolated non {{nodata}} values using surrounding cells within a specified distance.
{{clear}}
{{clear}}


==Additional information displayed in hover panel==
==Additional information displayed in hover panel==
[[File:Average_hover_panel.JPG|thumb|250px|right|The Average Overlay of the urbanization attribute and additional information in the hover panel.]]
[[File:Average_hover_panel.JPG|thumb|250px|left|The Average Overlay of the urbanization attribute and additional information in the hover panel.]]
When clicking on a specific location in the map of the Average Overlay, the hover panel gives additional information over the actual value in that specific grid cell.
When clicking on a specific location in the map of the Average Overlay, the hover panel gives additional information about the actual value in that specific grid cell.
{{clear}}
{{clear}}


==Calculation==
==Calculation==
The Average Overlay works by first computing a grid of input values. This is a 1-on-1 representation of the data found spatially in the [[Project]]. Then, for each [[grid cell]], the values of all cells within a given radius from that one cell are summed up, and divided by the total amount of cells found in that radius. The output value of that one cell is that computed average.  
The Average Overlay works by first rasterizing input values. These values can be obtained from Vector data or a [[Grid Overlay]].


The Average Overlay can be configured to fine-tune the exact data which should serve as input, and how the calculation should take place.
Once [[#Rasterized Vector data|rasterized]], the configured result type determines the operation applied on these values.


===Input===
Additional parameters define the [[Distance m (Average Overlay)|operation range]], the [[Default value (Average Overlay)|default value]] if none is rasterized, and the [[Attribute timeframes (Average Overlay)|number of timeframes]] for attributes with multiple values.
The Average Overlay requires an initial input, which it can then average out over a specified range. The input can be either an [[Attribute]] of vector data, or a [[Grid Overlay]]. The following options are available:
; Attribute First Layer
: Use the first value found among the layers of vector data which have the specified [[Attribute]]. If no such [[Attribute]] exists in a specific location, the used value is 0.


; Attribute Min Layer / Max Layer
===Averaged Input Type===
: Use either the lowest or the highest value found among the layers of vector data which have the specified [[Attribute]]. If no such [[Attribute]] exists in a specific location, the used value is 0.
You can also configure in what way a value for this overlay will be [[Rasterization (Average Overlay)|rasterized]].  


; Attribute Specific Layer
====Key====
: Use the defined [[Attribute]]'s value from the specific layer of vector data specified. Exactly one layer can be specified. If no such [[Attribute]] exists in a specific location, the used value is 0.
* '''First''': Selects the first value encountered among all considered Vector data types. See [[Average Overlay#Rasterized Vector data|Rasterized Vector data]] for the order.
* '''Min''': Selects the minimum value among all considered Vector data types.
* '''Max''': Selects the maximum value among all considered Vector data types.
* '''Single layer''': Only Vector data of the configured [[Maplink (Average Overlay)]] is rasterized.


; Grid Input Overlay
{{Overlay keys| {{:Key (Average Overlay)}}}}
: Use the value as calculated by another [[Grid Overlay]]. No [[Attribute]] needs to be specified. Instead, a specific [[Overlay]] is referenced. {{nodata}} values of the referenced Overlay result in {{nodata}} values in the grid. The Average Overlay will have [[timeframe]]s equal to the amount of [[timeframe]]s of the Input Overlay.
 
====Grid====
Use the values of another [[Grid Overlay]] when specified as input, instead of an [[Attribute]]. {{nodata}} values of the referenced Overlay result in {{nodata}} values in the grid. The Average Overlay inherits the number of [[timeframe]]s from the Input Overlay. If their grid sizes differ, the input grid is automatically resized.
{{Overlay prequels|
{{:Input prequel (Average Overlay)}}
}}
 
===Average Result Type===
The configured [[Result type (Average Overlay)|Average Overlay result type]] determines how a cell's value is calculated. The following result types are supported for the Average Overlay:
 
{{result types|
{{:Avg result type (Average Overlay)}}
{{:Min result type (Average Overlay)}}
{{:Max result type (Average Overlay)}}
{{:Avg interpolated result type (Average Overlay)}}
}}
 
===Rasterized Vector data===
Rasterized vector data depends on the [[Maplink (Average Overlay)]] and [[Average Overlay#Average Input Type|Average Input Type]]. If the input type is 'Grid', no vector data is used. Otherwise, all MapLink layers are considered if MapLink is null; otherwise, only the specified MapLink is rasterized.
 
The Average Overlay currently supports the following MapLinks (in order): [[Net Line]]s, [[Address]]es, [[Building]]s, [[Terrain]]s, [[Area]]s, [[Neighborhood]]s.
 
{{Overlay property|
{{:Rasterization (Average Overlay)}}
{{:Maplink (Average Overlay)}}
}}


===Calculation===
===Calculation===
Based on the input, the Average Overlay can average out the found values across some radius. The means of calculation are defined by [[Attribute]]s, and can most easily be set using the [[Average Overlay Wizard]].
The way of averaging is defined by several [[Model attributes (Average Overlay)|Attribute]]s, and can most easily be set using the ''Average Overlay Wizard''.


====Attributes====
The calculation can be configured via the following attributes:
The calculation can be configured via the following attributes:
{{overlay attributes|suppresscategory=true|allowselflinks=true|
{{overlay attributes|
   {{:Attribute timeframes (Average Overlay)}}
   {{:Attribute timeframes (Average Overlay)}}
  {{:Default value (Average Overlay)}}
   {{:Distance m (Average Overlay)}}
   {{:Distance m (Average Overlay)}}
   {{:No data interpolation (Average Overlay)}}
   {{:Surface only (Average Overlay)}}
}}
}}
==Input Overlay==
Input Overlays are a variant of average overlays that provide additional insights in the data used for complex Overlay models (e.g the [[Water Overlay]] or [[Heat Stress Overlay]]). Input Overlays can be made visible in the 3D model by selecting them in the Wizard or adding them manually.


{{article end
{{article end
|notes=
|notes=
[[File:wateroverlay_wizard_input_overlay_step.jpg|thumb|right|Input overlay step in the [[Water Overlay]] wizard.]]
* ''Input Overlays'' are overlays that can provide insight in the data used for complex Overlay models (e.g the [[Water Overlay]]). These input Overlays can be added automatically as [[Average Overlay]]s to your project by selecting them in the ''Input Overlay'' step of a Wizard.
|seealso=
*[[Model attributes (Average Overlay)]]
*[[Attribute model (Average Overlay)]]
*[[Grid model (Average Overlay)]]
|howtos=
|howtos=
* [[How to use the Average Overlay Wizard]]
* [[How to add and remove an Overlay]]
* [[How to add and remove an Overlay]]
* [[How to edit an overlay legend]]
* [[How to edit an overlay legend]]
Average Overlay Variants:
* [[How to create an Average Overlay based on another Grid Overlay]].
* [[How to fill NO_DATA values in a grid overlay by interpolation using an Average Overlay]].
* [[How to create an Average Overlay based on feature attributes]].
* [[How to configure an Average Overlay to gain insight into grid cell values]].
* [[How to smooth Grid Overlay results]]
* [[How to remove a waterway from the heightmap]]
* [[How to create an Overlay showing the presence of structures]]
* [[How to create an Overlay which highlights unused land]]
|external=
|external=
* [https://www.tygron.com/en/idea/extended-combo-and-average-overlay-functionalities  Extended Combo and average overlay functionalities.]
* [https://www.tygron.com/en/idea/extended-combo-and-average-overlay-functionalities  Extended Combo and average overlay functionalities.]
|api=
* [[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 avg distance]]
* [[Api session event editor overlay set prequel]]
}}
}}
 
{{AverageOverlay nav}}
{{Overlay nav}}
{{Overlay nav}}

Latest revision as of 07:38, 10 July 2026

The Average Overlay of the urbanization attribute.

The Average Overlay is a multi purpose Grid Overlay which displays (smoothed) values. These values can originate from spatial features, such as buildings, terrains, areas and neighborhoods. Alternatively, the values can originate from another Grid Overlay.

Spatial Features

A parameter assigned to a grid-cell can be related to one or more types of features in the project map: Buildings, Addresses, Terrains, Areas, Neighborhoods and Net Lines. The way this value is selected depends on the Averaged Input Type and calculation parameters.

Interpolate NODATA

The Average overlay can also be configured to replace NO_DATA values with interpolated non NO_DATA values using surrounding cells within a specified distance.

Additional information displayed in hover panel

The Average Overlay of the urbanization attribute and additional information in the hover panel.

When clicking on a specific location in the map of the Average Overlay, the hover panel gives additional information about the actual value in that specific grid cell.

Calculation

The Average Overlay works by first rasterizing input values. These values can be obtained from Vector data or a Grid Overlay.

Once rasterized, the configured result type determines the operation applied on these values.

Additional parameters define the operation range, the default value if none is rasterized, and the number of timeframes for attributes with multiple values.

Averaged Input Type

You can also configure in what way a value for this overlay will be rasterized.

Key

  • First: Selects the first value encountered among all considered Vector data types. See Rasterized Vector data for the order.
  • Min: Selects the minimum value among all considered Vector data types.
  • Max: Selects the maximum value among all considered Vector data types.
  • Single layer: Only Vector data of the configured Maplink (Average Overlay) is rasterized.

Grid

Use the values of another Grid Overlay when specified as input, instead of an Attribute. NO_DATA values of the referenced Overlay result in NO_DATA values in the grid. The Average Overlay inherits the number of timeframes from the Input Overlay. If their grid sizes differ, the input grid is automatically resized.


Average Result Type

The configured Average Overlay result type determines how a cell's value is calculated. The following result types are supported for the Average Overlay:

Rasterized Vector data

Rasterized vector data depends on the Maplink (Average Overlay) and Average Input Type. If the input type is 'Grid', no vector data is used. Otherwise, all MapLink layers are considered if MapLink is null; otherwise, only the specified MapLink is rasterized.

The Average Overlay currently supports the following MapLinks (in order): Net Lines, Addresses, Buildings, Terrains, Areas, Neighborhoods.

Calculation

The way of averaging is defined by several Attributes, and can most easily be set using the Average Overlay Wizard.

The calculation can be configured via the following attributes: