List of Combo Overlay examples: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Line 31: Line 31:
==Minimum infiltration among layers==
==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 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.-->
*Set [[Rasterization (Combo Overlay)|Combo Rasterization]] to "Attribute:Min value" (MIN)
 
*Set [[Maplink (Combo Overlay)|Combo Maplink]] to nothing (''null'')
*Set [[A (Combo Overlay)|Key A]] to GROUND_INFILTRATION_MD
*Set Formula to: <syntaxhighlight copy>@A</syntaxhighlight>





Revision as of 09:37, 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.

  • Set Combo Maplink to BUILDINGS
  • Set Key A to SOLID
  • Set Formula to:
    @A

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 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 STUDENT_UNIT_SIZE_M2
  • Set Key E to SENIOR_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.