jasonh300 wrote:Swapping the segments around manually also reverses the speed data, which means total corruption for a one-way street. Someone did that to some segments around here and the one-way streets have speed data for both directions now, which is starting to cause problems.
Yes, but I've also seen a different case that can't be related to the inverse A-B/B-A. We have all freeways as two one-way segments, and most of the time they are parallel to each other just with a cement separator, but sometimes they do split from each other several meters away.
Either way, I do see fwd speed and rev speed on almost all segments, independently if they have been split from a single two-way segment (via cartouche_old's feature to split into two), or drawn from scratch as two segments, and locked right away.
My impression is that if a user is actively following a route, the client knows which segment he is and correctly sets everything, but if a client is not with an active route, and the segment is not locked, the client may be telling the server that the user may be on the wrong segment and driving against the traffic and setting the rev speed or even turning it into a two-way segment. The later happens a lot on national roads (minors) where they split for a junction, and almost all segments on waze have one way still correct, and the other way switched as two-ways, which obviously will wrongly tell the user "keep right" when arriving there. die die die!
This line of thought is what is making me simplify all roundabouts and perpendicular junctions, as all those segments, when unlocked, have a tendency to switch to two-ways, and according to the highlights script (which I patched to show me *all* u-turn/red, reverse/pink and soft/yellow segments), all segments near to each other (those freeways and all roundabouts/junctions with multiple entry/exit segments) are pink, when not even red. As I don't want to lock everything, I'll just try to simplify the map, qw' it all, ensure the highlight doesn't show anything else, and wait for the next update.