Num cars (Traffic Noise Overlay): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Overlay attributes| | {{Overlay attributes| | ||
<onlyinclude>{{ | {{Overlay attributes|type=row|group=Traffic Noise | ||
| unit=vehicles/h | |||
| attribute=NUM_CARS | |||
| range=0 to {{Integermaxvalue}} | |||
| description=The amount of car traffic on this road. | |||
| defaultvalue=0 | |||
}}</onlyinclude>}} | |||
The value can either by a single value, or an [[Attribute array]] of values. As a single value, this reflects the amount of vehicles per [[hours ({{{overlay|Traffic}}} Overlay)|hour at any point of the day]]. As an [[Attribute array]], it's assumed to be an array of 24 values, each value corresponding to [[hours ({{{overlay|Traffic}}} Overlay)|each hour of the day]]. | |||
{{article end | |||
|notes= | |||
* This [[Attribute]] is shared across all [[Traffic Overlay]] implementations. | |||
|howtos= | |||
* [[How to add and remove an Attribute]] | |||
|seealso= | |||
* [[Traffic visualization]] | |||
* [[Hours ({{{overlay|Traffic}}} Overlay)]] | |||
* [[Cars per hour (Function Value)]] | |||
* [[Traffic noise formula (Traffic Noise Overlay)]] | |||
* [[Cars prequel (Traffic Noise Overlay)]] | |||
}} | }} | ||
{{TrafficNoiseOverlay_nav}} | {{TrafficNoiseOverlay_nav}} | ||
Revision as of 14:43, 7 July 2026
| Icon | Attribute | Unit | Range | Description | Default value |
|---|---|---|---|---|---|
| NUM_CARS | vehicles/h | 0 to 2147483647 | The amount of car traffic on this road. | 0 |
The value can either by a single value, or an Attribute array of values. As a single value, this reflects the amount of vehicles per hour at any point of the day. As an Attribute array, it's assumed to be an array of 24 values, each value corresponding to each hour of the day.