UpgradeSpatial: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 15: Line 15:
* [[Measure]]
* [[Measure]]
* [[Upgrade Type]]
* [[Upgrade Type]]
|api= *[[Api session event editor measure add upgrade]]
*[[Api session event editor measure add upgrade polygons]]
*[[Api session event editor measure set upgrade type]]
}}
}}



Latest revision as of 13:41, 10 July 2026

File:Measure with upgrades.png
Activated measure with an UpgradeSpatial.

An UpgradeSpatial is a component of a Measure that stores spatial information on how to apply an Upgrade Type to existing Buildings when the measure is activated. The area to which the Upgrade Type is applied can be specified with a MultiPolygon.

UpgradeSpatials are allowed to overlap and are applied in the order at which they were added to the Measure.

An UpgradeSpatial is only applied to Buildings with a Function that has an upgrade pair specified in the Upgrade Type. A Building is upgraded by the first matching and overlapping UpgradeSpatial. Upgraded Buildings are ignored by subsequent applied UpgradeSpatials.