Lanes (Function Value): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function values table start}}
{{Function values
<onlyinclude>{{Function value
|<onlyinclude>{{Function values|type=row
|icon=
|functionvalue=Lanes
|functionvalue=Lanes
|attribute=TRAFFIC_LANES
|attribute=TRAFFIC_LANES
|unit=integer
|unit=integer
|category=
|category=No
|range=-{{doublemaxvalue}} to {{doublemaxvalue}}
|description=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.
|description=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.
}}</onlyinclude>
}}</onlyinclude>
{{table end}}
}}


{{Function value details incomplete
{{Function value details incomplete
| static=
| static=
| overwritten=based on data in the [[Project Sources|NWB]].
| overwritten= based on data in the [[Project Sources|NWB]].
| usages=
| usages=
* [[Traffic Model]]
* [[Traffic visualization]]
| specifics=
| specifics=
| 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.
* 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=
}}
{{article end
|seealso=
* [[Function Values (Traffic visualization)]]
|api=*[[Api session event editor building set function value]]
* [[Api session event editor functionoverride set function value]]
* [[Api session event editor building reset function values]]
}}
}}

Latest revision as of 06:57, 12 October 2026

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.