|(One intermediate revision by the same user not shown)|
This page documents the methods of mapping time-based toll roads where a route is available 24/7 but tolls are only charged some of the time (e.g. rush hour). Since Waze doesn't currently implement time-restricted tolls, the following are some methods that can be used to emulate them.
== Overview ==
Time-based- tolls can be addressed by using two parallel segments: one segment will be marked as toll, while the other will be used to "bypass" it when the toll isn't in operation. If these segments are drawn to the sort of scale seen below, at the highest zoom level, they will be invisible on the client app.
In all the examples, the toll that we are trying to emulate is operational from 9am until 5pm Monday to Friday.
''If the route is not available when the toll is not in operation (e.g. a short, paid ferry route) then that can simply be implemented by using a toll segment with time-based restrictions.''
== On a 1-way segment ==
This is the simplest example. What you see here is four segments. The segments on either end are parts of the "original" one-way segment. This has been broken and two additional segments inserted in the middle. These two new segments '''must''' overlap as they leave a junction - otherwise the client will give "keep left/right" instructions. They are then "spread apart" in the middle to make the existence of two segments visible.
The upper segment should be marked as toll. This will only be available for routing if the client has the Avoid Toll option turned Off.
The lower segment is the bypass. This segment should have a time-based restriction set to restrict travel from 09:00-17:00 Monday-Friday (the operation hours of our example toll). That means that ''outside the normal toll hours'', this section will be available for routing regardless of the Avoid Toll setting.
== On a 2-way segment ==
In this case, the time-based toll operates in both directions on a 2-way segment. The red arrows indicate that u-turns have been disabled from either central segment to the other.
Again, the upper segment would be marked as toll. The lower segment would have time restrictions set to restrict travel from 09:00-17:00 Monday-Friday in '''both''' directions
== On a 2-way segment - but toll only in one direction ==
This is a situation that we see with the London Congestion Charging Zone (CCZ). Tolls are only charged on ''entering'' the CCZ. If ''exits'' from the CCZ are also marked as toll and one segment is missed, drivers from inside the CCZ will all be routed to that exit point if they have Avoid Tolls switched On.
In this case, the toll is operational from A→B but not B→A. The upper segment is again marked as toll with no time restrictions.
The lower segment has time restrictions set to restrict travel from 09:00-17:00 Monday to Friday from '''A→B only'''. That way it only bypasses the toll segment outside the hours of toll operation but always allows travel in the other direction