User:Iainhouse/draft View history

No edit summary
Line 20: Line 20:


=== On a 2-way segment ===
=== On a 2-way segment ===
[[File:TBTR_twoway2.jpg]]
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

Revision as of 23:52, 27 November 2013

Introduction

This page is intended to document methods of dealing with complicated tolls situations: where tolls are only operative during certain times of the day or only in 1 direction on 2-way segments.

Time-Restricted Tolls

There are situations where tolls are not in operation 24 hours a day. Since Waze doesn't currently implement time-restricted tolls, the following are some methods that can be used to emulate them. In all the examples, the toll that we are trying to emulate is operational from 9am until 5pm Monday to Friday.

On a 1-way segment

This is the simplest example. To emulate a time-restricted toll it is necessary to use 2 parallel segments (similar to a section of dual carriageway). One will segment will be marked as toll.

What you see here is 4 segments. The segments on either end are parts of the "original" one-way segment. This has been broken and 2 additional segments inserted in the middle. These 2 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 2 segments at this point visible.

The upper segment should be marked as toll. This only be available for routing if the client has the Avoid Toll option turned Off.

The lower segment is the "toll 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