Lanes (Function Value): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 19: | Line 19: | ||
| notes= | | notes= | ||
* The default direction of traffic flow on a [[section]] of a road is determined by the [[Api session items buildings#Api Model Section|calculated skeleton line]] of that section. | * The default direction of traffic flow on a [[section]] of a road is determined by the [[Api session items buildings#Api Model Section|calculated skeleton line]] of that section. | ||
* Although categorized under "Car Traffic", the | * Although categorized under "Car Traffic", the number of lanes also affects the [[traffic visualization]] by determining how many parallel lines are drawn for other traffic types, such as [[Ships per hour (Function Value)|ships]] and [[Trains per hour (Function Value)|trains]]. | ||
| references= | | references= | ||
}} | }} | ||
Latest revision as of 06:57, 12 October 2026
| Function value | Attribute | Unit | Range | Description |
|---|---|---|---|---|
| Lanes | TRAFFIC_LANES | integer | -1.7976931348623157E308 to 1.7976931348623157E308 | How many lanes of traffic there are on this road. A negative value causes vehicles to move in the opposite direction. This is only relevant for roads, intersections, and bridges. This only affects the visualization. |
Values
- This Function Value does not have usable values by default.
- Buildings generated during project creation can have their values overwritten based on data in the NWB.
Used for
Notes
- The default direction of traffic flow on a section of a road is determined by the calculated skeleton line of that section.
- Although categorized under "Car Traffic", the number of lanes also affects the traffic visualization by determining how many parallel lines are drawn for other traffic types, such as ships and trains.