Overlay Key: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
Overlay Keys establish a link between Attributes that an [[Overlay]]'s calculation model requires and [[Attributes]] the users and geo-sources supply.
Overlay Keys establish a link between [[Attributes]] that an [[Overlay]]'s calculation model requires and [[Attributes]] the users and geo-sources supply.


Consider the following example; [[Water Overlays]] require an attribute to identify Weirs. The Water Overlay has named this attribute that it expects: the [[Weir height]]. This expected attribute is known as a '''Key'''. Next, let us assume that the Weir's data is supplied by a user. In the data, the weir's height is described by the attribute HEIGHT_OBJ. The Overlay Weir Height '''Key''' can be set to HEIGHT_OBJ.
==Concept of Keys==
Consider the following example:


This way, when the Water Overlay wants to obtain the Weir Height value of a construction, they can use the attribute HEIGHT_OBJ, which it had stored for the WEIR_HEIGHT key.
[[Water Overlays]] require an attribute to identify Weirs.
 
The Water Overlay has named this attribute that it expects: the [[Weir_height_(Water_Overlay)|Weir height]].
 
This expected attribute is known as a '''Key'''.
 
Next, let us assume that the Weir's data is supplied by a user.
 
In the data, the weir's height is described by the attribute ''HEIGHT_OBJ''.
 
The Overlay Weir Height '''Key''' can be set to ''HEIGHT_OBJ''.
 
This way, when the Water Overlay wants to obtain the Weir Height value of a construction, they can use the attribute ''HEIGHT_OBJ'', which it had stored for the '''WEIR_HEIGHT''' key.


==How to adjust Keys==
==How to adjust Keys==
The Keys an Overlay's calculation model uses and their configured values can be found under the tab Keys in the {{right panel}}.
[[File:Water_Overlay_Keys.png|frame|right|The Water Overlay's long list of configurable Keys]]
Additionally, some Overlay Wizard, such as the [[Water Overlay Wizard]], allow users to set the Key's relevant to the context of the wizard's step. For example, Weir relevant Key's WEIR_HEIGHT, WEIR_WIDTH, WEIR_ANGLE and WEIR_COEFFICIENT can be set in the Weir Step of the Water Overlay Wizard.
The Keys an Overlay's calculation model uses and their configured values can be found under the tab Keys in the [[right panel]].
 
Additionally, some Overlay Wizard, such as the [[Water Overlay Wizard]], allow users to set the Key's relevant to the context of the wizard's step. For example, Weir relevant Key's [[Weir_height_(Water_Overlay)|WEIR_HEIGHT]], [[Weir_width_(Water_Overlay)|WEIR_WIDTH]], [[Weir_angle_(Water_Overlay)|WEIR_ANGLE]] and [[Weir_coefficient_(Water_Overlay)|WEIR_COEFFICIENT]] can be set in the Weir Step of the Water Overlay Wizard.
 
==Identifying Keys==
Some keys have an additional role; They are used by an Overlay to identify if a component, such as Building or Area, belongs to a certain group.
 
For example, the WEIR_HEIGHT key is used to place Buildings that have this attribute into the Weir group. The Building therefore takes the role of a Weir. Depending on the underlying calculation model of an Overlay, a component such as a Building can only be assigned one role.
====Multiple roles====
When a component has more than one identification Key, such as WEIR_HEIGHT and CULVERT_DIAMETER, the Building is assigned the role with the highest priority, which is determined by the calculation model. In the case of the [[Water Overlay]], [[Weir_(Water_Overlay)|Weirs]] are prioritized above than [[Culvert_(Water_Overlay)|Culverts]].
 
In this case the [[Water Overlay Wizard]] will also provide an Identification warning in the Culvert's wizard step: "Warning: Building is already recognized as a Weir".

Latest revision as of 16:36, 18 October 2019

Overlay Keys establish a link between Attributes that an Overlay's calculation model requires and Attributes the users and geo-sources supply.

Concept of Keys

Consider the following example:

Water Overlays require an attribute to identify Weirs.

The Water Overlay has named this attribute that it expects: the Weir height.

This expected attribute is known as a Key.

Next, let us assume that the Weir's data is supplied by a user.

In the data, the weir's height is described by the attribute HEIGHT_OBJ.

The Overlay Weir Height Key can be set to HEIGHT_OBJ.

This way, when the Water Overlay wants to obtain the Weir Height value of a construction, they can use the attribute HEIGHT_OBJ, which it had stored for the WEIR_HEIGHT key.

How to adjust Keys

The Water Overlay's long list of configurable Keys

The Keys an Overlay's calculation model uses and their configured values can be found under the tab Keys in the right panel.

Additionally, some Overlay Wizard, such as the Water Overlay Wizard, allow users to set the Key's relevant to the context of the wizard's step. For example, Weir relevant Key's WEIR_HEIGHT, WEIR_WIDTH, WEIR_ANGLE and WEIR_COEFFICIENT can be set in the Weir Step of the Water Overlay Wizard.

Identifying Keys

Some keys have an additional role; They are used by an Overlay to identify if a component, such as Building or Area, belongs to a certain group.

For example, the WEIR_HEIGHT key is used to place Buildings that have this attribute into the Weir group. The Building therefore takes the role of a Weir. Depending on the underlying calculation model of an Overlay, a component such as a Building can only be assigned one role.

Multiple roles

When a component has more than one identification Key, such as WEIR_HEIGHT and CULVERT_DIAMETER, the Building is assigned the role with the highest priority, which is determined by the calculation model. In the case of the Water Overlay, Weirs are prioritized above than Culverts.

In this case the Water Overlay Wizard will also provide an Identification warning in the Culvert's wizard step: "Warning: Building is already recognized as a Weir".