surgeZoneObject
Describes a zone within which some stop types are de-prioritised by a factor, via the stops
attribute.
{
"id": <integer>,
"surge": <bool> | null,
"travelFactor": <real> | null,
"projectFactor": <real> | null,
"stops": [stopType: real],
"color": <string> | null,
}
-
idinteger - Unique identifier for the surge zone.
-
surgebool - Switches the zone on or off.
-
zonezone - The circular region the surge applies to. null / absent = a "blanket" zone that Spiral applies everywhere (and which is never drawn on the map).
-
innerRadiusdistance - The effect tapers from the outer edge to the inner radius; within it the effect is maximal. null for a blanket zone.
-
travelFactorreal - Factor affecting travel time within the inner zone, linearly interpolated back to 1.0 at the outer boundary.
-
projectFactorreal - Factor affecting expected project demand within the inner zone, linearly interpolated back to 1.0 at the outer boundary.
-
stops[stopType: real] - Pairs stop types with delay-cost factors applied within the inner zone, linearly interpolated back to 1.0 at the outer boundary.
-
colorstring - Helix-only — a colours-palette name or CSS value used to render the zone on the map; never sent to Spiral.