Directional Traffic Report Tool
If I had to limit myself to just three mods, Traffic Report Tool would undoubtedly be among them. Road segments with heavy traffic, however, can be a little difficult to analyze as there are so many paths displayed. I always thought the ability to distinguish between directions would tremendously clear things up. This mod gives you this ability. Left clicking on a road segment will show you one direction and right clicking will show the other. Middle clicking gives you the original combined report.
Two things to be aware of:
1) Pedestrians on sidewalks are not counted in the directional reports. This is because sidewalk lanes are flagged as bidirectional in the game. Regular road lanes are flagged ‘forward’ or ‘backward’, which simplifies path classification. Properly classifying paths along sidewalks involves some vector arithmetic, and none of the solutions I’ve come up with so far have been 100% accurate. Jaywalkers, however, are counted! ? Because of this, the numbers from each direction may not always add up exactly to the figure given by the original report. In all these cases, you will find the discrepancy lies in the number of pedestrians.
2) I’m not sure how segment and lane directions are assigned when roads are laid out. I would’ve expected consecutive segments along a road to have consistent ‘forward’ and ‘reverse’ flags. However, this is not the case, so the direction shown by, say, left clicking on a segment may not be the same as the one given by left clicking on the next segment along the road.
All credit for what makes this mod unique and special goes to Black Widow. I am very grateful she made the source code available. I will take down this mod if she requests it and I will post my source shortly so she may merge it with the original if she so desires.
P.S. You must deactivate the original mod for this one to work, but you don’t have to unsubscribe from it. The same configuration file as the original is used.
Source code available here.[github.com]