Num cars (Traffic Density Overlay): Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{Building attributes|<onlyinclude> | ||
<onlyinclude>{{ | {{Building attributes|type=row|group=Traffic Density Overlay | ||
| 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 be a single value, or an [[Attribute array]] of values. As a single value, this reflects the amount of vehicles per [[hours (Traffic Density 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 each hour of the day. | |||
{{article end | |||
|howtos= | |||
* [[How to add and remove an Attribute]] | |||
|seealso= | |||
* [[Traffic visualization]] | |||
* [[Hours (Traffic Density Overlay)]] | |||
* [[Cars per hour (Function Value)]] | |||
* [[Num buses (Traffic Density Overlay)]] | |||
* [[Num trucks (Traffic Density Overlay)]] | |||
* [[Num vans (Traffic Density Overlay)]] | |||
|api=*[[Api session event editor building set attribute]] | |||
}} | }} | ||
Latest revision as of 13:22, 14 July 2026
| Icon | Attribute | Unit | Range | Description |
|---|---|---|---|---|
| NUM_CARS | vehicles/h | 0 to 2147483647 | The amount of car traffic on this road. |
The value can either be 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.