Soft and hard turns: Difference between revisions Discussion View history

(Created page)
 
m (→‎Best practices: fixed typo: alowed -> allowed)
 
(15 intermediate revisions by 9 users not shown)
Line 1: Line 1:
A junction is created when one segment is connected to another segment. At this junction there are controls for how Waze will navigate through this junction between the segments. These controls appear in the [[Waze Map Editor]] (WME) as red and green arrows depending upon whether a particular direction of travel is allowed through that junction. These settings are called '''turn restrictions'''.
==Overview==
==Overview==
When using Waze in navigation mode, it controls routing of traffic using a penalty system. What this means is less desirable roads or turns for through-traffic would have a higher penalty when calculating the route from point A to B. The higher the combined penalty, the less likely the Waze system will want to route through those segments and turns. Therefore it takes the least penalized route combined with relative traffic and distance information.


A junction is created when one segment is connected to another segment. At this junction there are controls for how Waze will navigate through this junction between the segments. These controls appear in the [[Waze Map Editor]] (WME) as red and green arrows depending upon whether a particular direction of travel is allowed through that junction. These settings are called '''turn restrictions'''.
When using Waze in navigation mode, it controls routing of traffic using a penalty system. What this means is less desirable roads or turns for through-traffic would have a higher penalty when calculating the route from point A to B. The higher the combined penalty, the less likely the Waze system will want to route through those segments and turns. Therefore it takes the least penalized route combined with relative traffic and distance information. Hard restrictions prevent routing through the turn. Soft turn restrictions add a penalty to possible routes through the turn.


Before continuing to review the information below, but sure you are familiar with the basic information on [[Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29|setting turn restrictions]]. Then return here for this more detailed information on how different turn restrictions operate.
Before continuing to review the information below, be sure you are familiar with the basic information on [[Creating_and_Editing_street_segments#Set_allowed_turns_.28connections.29|setting turn restrictions]]. Then return here for this more detailed information on how different turn restrictions operate.


==Key terms==
==Key terms==
'''Restricted Turn''' - [[Image:Arrow_Red-1.png]] - Indicated with a red arrow and creates a high penalty for routing from one segment to another through that junction.
'''Restricted Turn''' - [[Image:Arrow_Red-2.png‎]] - Indicated with a red arrow.  Prohibits  routing from one segment to another through that junction.


'''Enabled Turn''' - [[Image:Arrow_Green-1.png]] - Indicated with a green arrow and creates a low penalty for routing from one segment to another through that junction.
'''Enabled Turn''' - [[Image:Arrow_Green-2.png]] - Indicated with a green arrow.  Permits  routing from one segment to another through that junction.


'''Soft Turn''' - Not currently visibly distinguished from Hard Turns in the editor, but is generated automatically by the Waze routing engine for turns from segments newly added to current or new junctions, but the already present segments in the junction will have hard restricted turns going to the newly added segment. Also, original base map imported junctions not set manually by an editor will be soft restricted.
'''Soft Turn''' - [[Image:wme_segment_end_unlocked_turns.png]] - The Waze Map Editor indicates '''soft turns''' with a purple question mark at the end of the segment. It is generated automatically by the Waze routing engine for turns from existing segments when they are added to current or new junctions. Also, original base map imported junctions not set manually by an editor will be soft restricted. However, newly drawn segments joined to other segments will have hard restricted turns. The turns from the existing segments will inherit the same type of soft or hard turn as the end of the segment that is split.


'''Hard Turn''' - Not currently visibly distinguished from Soft Turns in the editor, but is generated when a user manually sets a turn as restricted or enabled.
'''Hard Turn''' - The Waze Map Editor distinguishes between '''hard''' and '''soft''' turns, by '''removing''' the question mark when a turn is manually set by an editor as either a restricted or enabled turn at the end of a segment.


These conditions are combined to form four different states shown in the table below.
These conditions are combined to form four different states shown in the table below.
Line 19: Line 20:


{| class="wikitable unsortable" border="1"
{| class="wikitable unsortable" border="1"
|+ Soft and Hard Turn Combinations
|+Soft and Hard Turn Combinations
|-
|-
! Turn State
!Arrow
! Restriction Penalty
!Turn State
! How to Set
!Routing Effect
! More Information
!How to Set
!More Information
|- style="background:#FA5858; color:black"
|- style="background:#FA5858; color:black"
| Hard Restricted
| bgcolor="white" |[[Image:Arrow_Red-2.png‎]]
| Very High
|Hard Restricted
| When an editor clicks on an arrow to change it from green to red or from red to green to red again
|Prohibited
| Waze will generally not route through this turn
|When an editor clicks on an arrow to change it from green to red or from red to green to red again
|Waze should not route through this turn
|- style="background:#F5A9A9; color:black"
|- style="background:#F5A9A9; color:black"
| Soft Restricted
| bgcolor="white" |[[Image:Arrow_Red-2.png‎]][[Image:wme_segment_end_unlocked_turns.png]]
| High
|Soft Restricted
| State of all newly created turns
|High Penalty
| Cannot return to this state unless an editor disassembles an intersection and rebuilds it again
|Newly created turns from joining existing segments to other segments<br>
Picked up from existing segments when joined by new segments
|Cannot return to this state except when the adjacent conditions are met
|- style="background:#A9F5A9; color:black"
|- style="background:#A9F5A9; color:black"
| Soft Enabled
| bgcolor="white" |[[Image:Arrow_Green-2.png]][[Image:wme_segment_end_unlocked_turns.png]]
| Low
|Soft Enabled
| Automatically set by Waze when traffic flows through '''Soft''' restricted turns enough times
|Low Penalty
| Waze will not override a '''Hard''' restricted turn due to traffic flow against that direction
|Automatically set by Waze when traffic flows through '''Soft''' restricted turns enough times
|Waze will not override a '''Hard''' restricted turn due to traffic flow against that direction
|- style="background:#58FA58; color:black"
|- style="background:#58FA58; color:black"
| Hard Enabled
| bgcolor="white" |[[Image:Arrow_Green-2.png]]
| Very Low
|Hard Enabled
| When an editor clicks on an arrow to change it from red to green or from green to red to green again
|Permitted
| Also set when selecting a junction and pressing the '''Q''' then '''W''' [[Keyboard_shortcuts|shortcut keys]]
|When an editor clicks on an arrow to change it from red to green or from green to red to green again
|Also set when selecting a junction and pressing the '''Q''' then '''W'''  
[[Keyboard_shortcuts|shortcut keys]]
|-  
|-  
|}
|}
Line 56: Line 64:
Other helpful turn arrow keyboard shortcuts are:
Other helpful turn arrow keyboard shortcuts are:


* '''Shift+z''' -  Toggles between: 1) showing the enabled and restricted turn arrows for the selected segment, and 2) showing all restricted turns (red arrows only) for every junction on the visible map (up to zoom level 4 or 500 ft in the lower left map legend).
*'''Shift+z''' -  Toggles between: 1) showing the enabled and restricted turn arrows for the selected segment, and 2) showing all restricted turns (red arrows only) for every junction on the visible map (up to zoom level 4 or 500 ft in the lower left map legend).
* '''a''' - Toggles between making the turn restriction arrows directly selectable (opaque) or transparent. Transparency enables selecting objects below the arrow on the map.
*'''a''' - Toggles between making the turn restriction arrows directly selectable (opaque) or transparent. Transparency enables selecting objects below the arrow on the map.
* '''s''' - Toggles between separating turn arrows so they don't overlap or leaving them overlapping. This can also be used to refresh the screen when you have toggled visibility for all restricted turns, and you are modifying turn restrictions.
*'''s''' - Toggles between separating turn arrows so they don't overlap or leaving them overlapping. This can also be used to refresh the screen when you have toggled visibility for all restricted turns, and you are modifying turn restrictions.


To see all keyboard shortcuts, press the '''?''' on the keyboard.
To see all keyboard shortcuts, press the '''?''' on the keyboard.
Line 65: Line 73:
After creating a new junction, first be sure to set the one-way and two-way traffic direction on all connected segments. Then it is best to initially Disable and Enable all turns through that junction by selecting it and pressing '''Q''' followed by '''W'''. Then manually set any necessary individual restricted turns by selecting each segment one at a time and set the needed arrow to red.  
After creating a new junction, first be sure to set the one-way and two-way traffic direction on all connected segments. Then it is best to initially Disable and Enable all turns through that junction by selecting it and pressing '''Q''' followed by '''W'''. Then manually set any necessary individual restricted turns by selecting each segment one at a time and set the needed arrow to red.  


Note that once a segment is disconnected from a junction, returning that segment to the same (or a different segment) will reset the turns from that segment to '''soft''' turns again. Use the above steps to return it to '''hard''' turns.
Note that once a segment is disconnected from a junction, returning that segment to the same (or a different segment) will reset the turns from that segment to '''soft''' turns again. Use the above steps to return it to '''hard''' turns. Note, however, that the procedure, using Q and W, will change all restrictions on the junction to allowed, so make sure to preserve whatever values were previously set for the parts that you did not disconnect. Because of this, you may wish instead, for simple junctions, to not employ the Q/W procedure, and only set hard restrictions on the turns to or from the newly reconnected piece.


==Time restricted turns==
==Time restricted turns==
{{Time restricted turns}}
The Waze Map Editor and routing engine supports scheduled restrictions (time of day, day of week, turns, traffic flow direction, vehicle type, etc.).
 
Please see the [[Partial restrictions]] page for full documentation on this feature.}


==Route calculation==
==Route calculation==
For those interested, there is an article covering [[How Waze calculates routes]] for more information on this topic.
Restricting a turn with a hard turn restriction prevents routes through that turn.  There should be no segment with all turns to access it restricted. There should be no segment with all turns to exit it restricted.  This is also true for a set of segments.  Waze should be able to route to and from every driveable segment on the map. If waze cannot reach the segment closest to a destination point or origination point for a route due to hard turn restrictions, the [[routing server]] will instead route to or from another nearby segment.
 
[[Category:Waze Map Editor]]

Latest revision as of 15:46, 3 July 2020

A junction is created when one segment is connected to another segment. At this junction there are controls for how Waze will navigate through this junction between the segments. These controls appear in the Waze Map Editor (WME) as red and green arrows depending upon whether a particular direction of travel is allowed through that junction. These settings are called turn restrictions.

Overview

When using Waze in navigation mode, it controls routing of traffic using a penalty system. What this means is less desirable roads or turns for through-traffic would have a higher penalty when calculating the route from point A to B. The higher the combined penalty, the less likely the Waze system will want to route through those segments and turns. Therefore it takes the least penalized route combined with relative traffic and distance information. Hard restrictions prevent routing through the turn. Soft turn restrictions add a penalty to possible routes through the turn.

Before continuing to review the information below, be sure you are familiar with the basic information on setting turn restrictions. Then return here for this more detailed information on how different turn restrictions operate.

Key terms

Restricted Turn - - Indicated with a red arrow. Prohibits routing from one segment to another through that junction.

Enabled Turn - - Indicated with a green arrow. Permits routing from one segment to another through that junction.

Soft Turn - - The Waze Map Editor indicates soft turns with a purple question mark at the end of the segment. It is generated automatically by the Waze routing engine for turns from existing segments when they are added to current or new junctions. Also, original base map imported junctions not set manually by an editor will be soft restricted. However, newly drawn segments joined to other segments will have hard restricted turns. The turns from the existing segments will inherit the same type of soft or hard turn as the end of the segment that is split.

Hard Turn - The Waze Map Editor distinguishes between hard and soft turns, by removing the question mark when a turn is manually set by an editor as either a restricted or enabled turn at the end of a segment.

These conditions are combined to form four different states shown in the table below.


Soft and Hard Turn Combinations
Arrow Turn State Routing Effect How to Set More Information
Hard Restricted Prohibited When an editor clicks on an arrow to change it from green to red or from red to green to red again Waze should not route through this turn
Soft Restricted High Penalty Newly created turns from joining existing segments to other segments

Picked up from existing segments when joined by new segments

Cannot return to this state except when the adjacent conditions are met
Soft Enabled Low Penalty Automatically set by Waze when traffic flows through Soft restricted turns enough times Waze will not override a Hard restricted turn due to traffic flow against that direction
Hard Enabled Permitted When an editor clicks on an arrow to change it from red to green or from green to red to green again Also set when selecting a junction and pressing the Q then W

shortcut keys


Related shortcuts

On the left side of the screen you will see action links for the selected node (or junction). Depending on the current state of the junction, one or both of the buttons Allow all turns or Disallow all turns will appear. For example, if all turns are currently allowed, then only the Disallow all turns link will appear.


Alternately you can use the keyboard shortcut W to Allow all turns and the shortcut Q to Disallow all turns.

Other helpful turn arrow keyboard shortcuts are:

  • Shift+z - Toggles between: 1) showing the enabled and restricted turn arrows for the selected segment, and 2) showing all restricted turns (red arrows only) for every junction on the visible map (up to zoom level 4 or 500 ft in the lower left map legend).
  • a - Toggles between making the turn restriction arrows directly selectable (opaque) or transparent. Transparency enables selecting objects below the arrow on the map.
  • s - Toggles between separating turn arrows so they don't overlap or leaving them overlapping. This can also be used to refresh the screen when you have toggled visibility for all restricted turns, and you are modifying turn restrictions.

To see all keyboard shortcuts, press the ? on the keyboard.

Best practices

After creating a new junction, first be sure to set the one-way and two-way traffic direction on all connected segments. Then it is best to initially Disable and Enable all turns through that junction by selecting it and pressing Q followed by W. Then manually set any necessary individual restricted turns by selecting each segment one at a time and set the needed arrow to red.

Note that once a segment is disconnected from a junction, returning that segment to the same (or a different segment) will reset the turns from that segment to soft turns again. Use the above steps to return it to hard turns. Note, however, that the procedure, using Q and W, will change all restrictions on the junction to allowed, so make sure to preserve whatever values were previously set for the parts that you did not disconnect. Because of this, you may wish instead, for simple junctions, to not employ the Q/W procedure, and only set hard restrictions on the turns to or from the newly reconnected piece.

Time restricted turns

The Waze Map Editor and routing engine supports scheduled restrictions (time of day, day of week, turns, traffic flow direction, vehicle type, etc.).

Please see the Partial restrictions page for full documentation on this feature.}

Route calculation

Restricting a turn with a hard turn restriction prevents routes through that turn. There should be no segment with all turns to access it restricted. There should be no segment with all turns to exit it restricted. This is also true for a set of segments. Waze should be able to route to and from every driveable segment on the map. If waze cannot reach the segment closest to a destination point or origination point for a route due to hard turn restrictions, the routing server will instead route to or from another nearby segment.