List of Combo Overlay examples: Difference between revisions
No edit summary |
|||
| Line 14: | Line 14: | ||
*Set [[E (Combo Overlay)|Key E]] to SENIOR_UNIT_SIZE_M2 | *Set [[E (Combo Overlay)|Key E]] to SENIOR_UNIT_SIZE_M2 | ||
*Set Formula to: <syntaxhighlight copy>GT(@A,@B,@C,@D,@E)</syntaxhighlight> | *Set Formula to: <syntaxhighlight copy>GT(@A,@B,@C,@D,@E)</syntaxhighlight> | ||
==Residential Buildings== | |||
The [[Unit size (Category Value)|unit size]] category values can be used to identify and rasterize residences, in combination with a <code>GT</code> (Greater than) function with multiple arguments. To setup: | |||
*Set Combo [[Maplink]] to Buildings | |||
*Set [[A (Combo Overlay)|Key A]] to SOCIAL_UNIT_SIZE_M2 | |||
*Set [[B (Combo Overlay)|Key B]] to NORMAL_UNIT_SIZE_M2 | |||
*Set [[C (Combo Overlay)|Key C]] to LUXE_UNIT_SIZE_M2 | |||
*Set [[D (Combo Overlay)|Key D]] to SENIOR_UNIT_SIZE_M2 | |||
*Set [[E (Combo Overlay)|Key E]] to STUDENT_UNIT_SIZE_M2 | |||
*Set Formula to: <syntaxhighlight copy>GT(@A,@B,@C,@D,@E)</syntaxhighlight> | |||
==Categorized Residential Buildings== | |||
The [[Unit size (Category Value)|unit size]] category values can be used to identify and rasterize residence types, in combination with a <code>IF</code> and <code>GT</code> (Greater than) functions with multiple arguments. We will categorize the residential buildings as followed: SOCIAL (1) , NORMAL (2), LUXE (3), SENIOR (4), STUDENT (5) and everything else 0. | |||
To setup: | |||
*Set [[Rasterization (Combo Overlay)|Combo Rasterization]] to "Attribute:Specific Layer" (SINGLE_LAYER) | |||
*Set Combo [[Maplink]] to [[Building]]s | |||
*Set [[A (Combo Overlay)|Key A]] to SOCIAL_UNIT_SIZE_M2 | |||
*Set [[B (Combo Overlay)|Key B]] to NORMAL_UNIT_SIZE_M2 | |||
*Set [[C (Combo Overlay)|Key C]] to LUXE_UNIT_SIZE_M2 | |||
*Set [[D (Combo Overlay)|Key D]] to SENIOR_UNIT_SIZE_M2 | |||
*Set [[E (Combo Overlay)|Key E]] to STUDENT_UNIT_SIZE_M2 | |||
*Set Formula to: <syntaxhighlight copy>IF(GT(@A,0),1,IF(GT(@B,0),2,IF(GT(@C,0),3, IF(GT(@D,0), 4, IF(GT(@E,0),5,0))))</syntaxhighlight> | |||
==Minimum infiltration among layers== | |||
An example on how the combo overlay can obtain rasterized data from multiple data layers (MapLinks); Terrains, Buildings, Neighborhoods, Areas and Zones. | |||
<!--An attribute is only obtained when the rasterized item has the attribute, otherwise it is ignored. If none of the MapLink layers have rasterized items with the requested attribute, 0 is returned.--> | |||
{{article end | {{article end | ||
Revision as of 08:04, 30 June 2026
Solid Buildings
The attribute SOLID generally has a value of 0 or 1. It can therefore be used directly in a Combo Overlay Formula.
Residential Buildings
The unit size category values can be used to identify and rasterize residences, in combination with a GT (Greater than) function with multiple arguments. To setup:
- Set Combo Maplink to Buildings
- Set Key A to SOCIAL_UNIT_SIZE_M2
- Set Key B to NORMAL_UNIT_SIZE_M2
- Set Key C to LUXE_UNIT_SIZE_M2
- Set Key D to STUDENT_UNIT_SIZE_M2
- Set Key E to SENIOR_UNIT_SIZE_M2
- Set Formula to:
GT(@A,@B,@C,@D,@E)
Residential Buildings
The unit size category values can be used to identify and rasterize residences, in combination with a GT (Greater than) function with multiple arguments. To setup:
- Set Combo Maplink to Buildings
- Set Key A to SOCIAL_UNIT_SIZE_M2
- Set Key B to NORMAL_UNIT_SIZE_M2
- Set Key C to LUXE_UNIT_SIZE_M2
- Set Key D to SENIOR_UNIT_SIZE_M2
- Set Key E to STUDENT_UNIT_SIZE_M2
- Set Formula to:
GT(@A,@B,@C,@D,@E)
Categorized Residential Buildings
The unit size category values can be used to identify and rasterize residence types, in combination with a IF and GT (Greater than) functions with multiple arguments. We will categorize the residential buildings as followed: SOCIAL (1) , NORMAL (2), LUXE (3), SENIOR (4), STUDENT (5) and everything else 0.
To setup:
- Set Combo Rasterization to "Attribute:Specific Layer" (SINGLE_LAYER)
- Set Combo Maplink to Buildings
- Set Key A to SOCIAL_UNIT_SIZE_M2
- Set Key B to NORMAL_UNIT_SIZE_M2
- Set Key C to LUXE_UNIT_SIZE_M2
- Set Key D to SENIOR_UNIT_SIZE_M2
- Set Key E to STUDENT_UNIT_SIZE_M2
- Set Formula to:
IF(GT(@A,0),1,IF(GT(@B,0),2,IF(GT(@C,0),3, IF(GT(@D,0), 4, IF(GT(@E,0),5,0))))
Minimum infiltration among layers
An example on how the combo overlay can obtain rasterized data from multiple data layers (MapLinks); Terrains, Buildings, Neighborhoods, Areas and Zones.