Difference between revisions of "Template:Clear/doc"

From Wazeopedia
(Setting restrictions)
m (5 revisions imported)
 
(44 intermediate revisions by 13 users not shown)
Line 1: Line 1:
Scheduled restrictions (or time-based restrictions) enable Waze to control the routing of vehicles through roads or turns, and those can be further restricted based on time, day, or vehicle type. The classic use cases are for public transit lanes, turn restrictions during rush or commute hours, directionality changes, seasonal road closures, gates, moveable bridges and ferry lanes.
+
{{doc subpage}}
 +
This template makes content wait until existing content (typically tables and images) is fully displayed in all columns before letting subsequent content be displayed. It uses the ''<nowiki><div style="clear:TYPE;"></div></nowiki>'' formatting to prevent the extra line break that comes with ''<nowiki><br style="clear: both" /></nowiki>''.  
  
== Overview ==
+
The TYPE variable is controlled with the second parameter as follows:
 +
* '''<nowiki>{{</nowiki>clear|left<nowiki>}}</nowiki>''' - Only the left column must be complete before subsequent content is displayed
 +
* '''<nowiki>{{</nowiki>clear|right<nowiki>}}</nowiki>''' - Only the right column must be complete before subsequent content is displayed
 +
* '''<nowiki>{{</nowiki>clear<nowiki>}}</nowiki>''' or '''<nowiki>{{</nowiki>clear|both<nowiki>}}</nowiki>''' - Both left and right columns must be complete before subsequent content is displayed
  
There are four methods to control traffic flow: {{Red|((Hyperlink to each article covering these))}}
+
{{TemplateNotDisplayed}}
# [[Mega events]]
 
# Temp Road Closures
 
# Scheduled Restrictions (this article)
 
# Disconnect road segments
 
  
{{Red|((Create article on why to use each one and point to that article. If small enough make a template and insert here. That new article becomes a type of disambiguation page for road closures and restrictions.))}}
+
<includeonly>
 +
<!-- ADD CATEGORIES BELOW THIS LINE -->
 +
[[Category:Page Formatting Templates]]
  
This article covers how to create scheduled restrictions. Scheduled restrictions can be based on:
+
<!-- ADD INTERWIKIS BELOW THIS LINE -->
# An entire segment controlling traffic flow for one or both directions
+
</includeonly>
# Specific turns from one segment to another
 
 
 
Each of these restrictions can be further restricted based on combinations of:
 
# Vehicle type (trucks, buses, hazardous materials, etc.)
 
# Time of day, day of week, and date range.
 
 
 
Examples:
 
* Interstate truck-only ramp
 
* No trucks allowed between 9a-3p weekends
 
* No left turn 7a-9a and 4p-6p weekdays
 
* HOV lanes
 
* Freeway express lanes which are a single roadway, but run a different direction for morning and evening commutes
 
* Vehicle towing a trailer
 
 
 
While this is a very flexible system, it requires what might initially look like a very complex interface to manage the many combinations possible. It is certainly very important that any changes made to any current scheduled restrictions on the map be done with extreme caution so as not to destroy hours of work by prior map editors. Therefore be sure to only make changes to scheduled restrictions with careful consideration and patience.
 
 
 
== Segments ==
 
 
 
[[Image:Segment info restrictions button highlight.jpg|right]]
 
 
 
When no traffic or certain vehicles are not permitted on a segment (or road), you can set restrictions on the segment directly preventing any traffic flow across the segment. This is easier that trying to restrict all the turns that come from other segments to this one segment. Some restrictions may only affect a certain direction, or sometimes a road allows traffic flow one way and then later in the day it switched to the opposite direction.
 
 
 
Segment restrictions are added or edited through the ‘Add/Edit restrictions’ button in the left pane (or the ‘T’ keyboard shortcut).
 
{{clear}}
 
 
 
That brings up the "Time based restrictions" panel. Segments supporting two-way traffic will display two tabs: "A to B" and "B to A" referring to the letters A and B on either end of the selected segment indicating the direction of orientation related to the direction of traffic flow.
 
 
 
The text below the tab will describe which direction of travel is associated with that tab to help determine which traffic direction is represented by each tab.
 
 
 
[[Image:Segment restriction list add button highlight_sm.gif|right]] Click  the "+ Add restriction" button to create a new restriction.
 
 
 
See the section [[#|Setting restrictions]] for information on how to set the restriction. Segment and turn restrictions are set using the same instructions covered below. You can create multiple restrictions for the segment to allow for restrictions that might only occur at different times of the day, or maybe the restriction is at different times on the weekdays than on the weekends.
 
 
 
[[Image:Restrictions copy to other side.jpg|right]] Once you create the restrictions for one direction you can simply copy all the restrictions to the other direction with the link labeled "Copy all to the other side." Otherwise only one direction of travel will be restricted and the other direction will be fully open.
 
 
 
After a restriction is created you can edit [[File: Pencil_icon.jpg]] or remove [[File: X_icon.jpg]] a restriction with the appropriate action buttons.
 
{{clear}}
 
 
 
=== Multiple segment selection ===
 
 
 
Multiple segments can be selected at once for batch editing of restrictions. Selecting multiple segments is done by clicking the segments while holding the Ctrl button (or Cmd on Mac computers).
 
 
 
[[Image:Restrictions multiple segments.gif]]
 
 
 
A few things to note when editing multiple segments:
 
* Note the directionality of the segments - two neighboring segments can be with different A->B directionality. In one of them the A->B direction can be eastbound and in the other it can be westbound at the same time.
 
* When multiple segments are selected with different restrictions set on them, they will appear in a different section of the panel under the title: 'These restrictions only apply to some of the segments selected:' Click the ‘Apply to all’ link to the right of the restriction line to propagate the restriction to all the selected segments.
 
 
 
== Turns ==
 
 
 
When only certain turns are restricted from one segment to another, this method of restriction should be selected and not the whole segment.
 
 
 
=== All turning traffic restricted at all times ===
 
 
 
Turns that are restricted to all traffic (all vehicle types) are set with '''turn arrows'''—the arrows that appear at the end of a selected segment. A restricted turn is indicated by a red arrow with a ''do not'' sign next to it. A turn that is open (not restricted) '''to all traffic''' is indicated by a green arrow.
 
 
 
[[Image:Lotsa turns.jpg]]
 
 
 
To change from a green arrow (open) to a red arrow (fully restricted) simply click on the arrow and it will toggle between the options.
 
 
 
{{Red|((Link to articles on the various turn arrow tips and tricks))}}
 
 
 
{{Red|((probably include something on U turns too))}}
 
 
 
=== Scheduled turn restrictions ===
 
 
 
When not all times, days, dates, or vehicles are restricted from turning, you can set a scheduled turn restriction from one segment to another. Turns that are restricted to all traffic during certain times of the day are "time based turn restrictions".
 
 
 
{{Red|((Insert photo of "no left turn 7a-9a 4p-6p" sign or similar))}}
 
 
 
Accessing the editing panel is also accessed through the turn arrows. Select the desired turn arrow and click it until it becomes green. With the mouse hovering over the green arrow you will see a clock icon next to the arrow. Click on the clock to bring up the Time based restriction panel for that turn.
 
 
 
[[Image:Restriction arrow green.gif]]
 
 
 
You should then see the Time based restrictions panel.
 
 
 
[[Image:Turn-restriction-list-add-button-highlight.gif]]
 
 
 
Press the "+ Add restriction" button to create a new restriction.
 
 
 
See the section [[#|Setting restrictions]] for information on how to set the restriction. Segment and turn restrictions are set using the same instructions covered below. You can create multiple restrictions for the segment to allow for restrictions that might only occur at different times of the day, or maybe the restriction is at different times on the weekdays than on the weekends.
 
 
 
Once you enter the restriction(s) and press the Apply button, you will see a Yellow arrow instead of the green arrow indicating that turn has time based restrictions enabled.
 
 
 
[[Image:Restriction arrow yellow mouseover.gif]]
 
 
 
To access the edit panel for that turn, simply click the '''white''' clock that appears next to the yellow arrow. If you only click on the yellow arrow, you will turn it red indicating all times, days, and vehicles are restricted. Note that your prior settings are saved and if you click the red arrow again it will return to yellow with the last saved settings.
 
 
 
== Setting restrictions ==
 
 
 
Both segment and turn restrictions are created and edited using the same user interface, but each one is accessed through a different method discussed above.
 
 
 
[[Image:Restrictions empty panel.gif]]
 
 
 
Configure the restriction as required using the guidelines described for each setting.
 
 
 
After configuring the restriction as required, press the '''Add''' button on that panel to save the restriction and return to the Time based restrictions panel. Continue adding restrictions in the same way to cover combinations that may only restrict a few house per day, but at different times of day.
 
 
 
 
 
=== Days of week ===
 
 
 
Select the days of the week that the restriction will be active. Use the '''Select all''' or '''Select none''' link to to more quickly change all the check boxes. The default is all days of the week. Your display order for the days will depend upon your country settings in your browser and may not exactly match the image above.
 
 
 
=== Time of day ===
 
 
 
For restrictions that apply all day long, use the default setting of '''All day'''. If the restriction is for only certain periods of time during the day, then select the '''From''' radio button to allow the time to be changed. You can click the hours or minutes fields to enter times directly, or click the clock icon next to the time to enable input panels.
 
 
 
The time is entered in [http://en.wikipedia.org/wiki/24-hour_clock 24-hour format], meaning AM and PM are not used. To convert from 12 hour time to 24 hour time, use the following table:
 
 
 
{| class="wikitable" style="margin: 1em auto 1em auto;"
 
|-
 
! align="left" | 12 hour time !! 24 hour time !! How?
 
|-
 
| align="left" | 12:00 AM (midnight) - 12:59 AM
 
| align="left" | 0:00 - 0:59
 
| align="left" | subtract 12 from hour
 
|-
 
| align="left" | 1:00 AM - 11:59 AM
 
| align="left" | 1:00 - 11:59
 
| rowspan="2" align="left" | do nothing
 
|-
 
| align="left" | 12:00 PM (noon) - 12:59 PM
 
| align="left" | 12:00 - 12:59
 
|-
 
| align="left" | 1:00 PM - 11:59 PM
 
| align="left" | 13:00 - 23:59
 
| align="left" | add 12 to hour
 
|}
 
Minutes, of course, remain the same.
 
 
 
For example, a schedule of 10:00 AM to 3:00 PM would instead be entered as 10:00 to 15:00; a schedule of midnight to noon (12:00 AM to 12:00 PM) would instead be entered as 0:00 to 12:00.
 
 
 
The time that should be entered is the local time of the road as would be displayed on the local signs. The Waze server already knows the local time zones and will schedule the restriction correctly.
 
 
 
Daylight savings time is automatically accounted for as long as the Waze client app is properly set to the correct local time.
 
 
 
==== Entering midnight ====
 
 
 
If a scheduled restriction is between 8:00 PM and Midnight, then enter "20:00 - 23:59". Technically you can also enter "20:00 - 00:00" to get the same result.
 
 
 
==== Crossing midnight ====
 
 
 
If a restriction occurs only during night time hours and opens in the morning e.g., restricted between 10 PM and 5 AM, then enter the From time as 22:00 and the To time as 05:00. You will notice an information box that says the restriction will end of the following day. If this restriction is only on a certain day of the week, e.g., Saturday night and Sunday night, then select the day of the week for Sat and Sun matching the start of the restriction. There is no need to include Monday because it will be automatically covered. Including the Monday check box would then add a third day starting at 10 PM Monday.
 
 
 
=== Date range ===
 
 
 
[[Image:Restrictions dates selector.gif]]
 
 
 
The default setting is '''Every week''' meaning there is no limit to the date range so as soon as you add the restriction it will be active every week until it is removed. Optionally you can select the radio button for '''Range''' of dates to limit the restriction to a certain number of days. Press the button displaying the date to display two calendars. The one one the left shows the start date and the calendar on the right shows the end date of the restriction. Note these date are inclusive meaning the restriction will include both dates (and all the ones in between) when determining the restriction. When you have selected the date range press the green '''Apply''' button. The date range is displayed in '''DD/MM/YYYY''' format. To remove the date range, simply select the '''Every week''' radio button again.
 
 
 
Again the end date will consider the entire day based on any time settings also configured. If the time crosses midnight, the next day will automatically be included for that time period and then the restriction will no longer be active after that ending time.
 
 
 
=== Vehicle type ===
 
 
 
There are some situations that only restrict certain vehicle types from passing through the turn or segment. Examples of this include HOV lanes, bus stops, and truck-only exit ramps.
 
 
 
{{Red|((Insert some photos of real-world signs))}}
 
 
 
Also, some turns may be taken by all traffic ''except'' certain vehicles. Examples of this include no truck zones.
 
 
 
{{Red|((Insert some more photos))}}
 
 
 
The default condition is '''All vehicle types''' are included in the restriction, but if only certain vehicles are going to be restricted, press the '''(Edit)''' link next to '''Restriction for all vehicle types''' to bring up the vehicle type selector.
 
 
 
[[Image:Restrictions vehicle types.jpg]]
 
 
 
Add a check mark only the vehicles that should be restricted and leave the others unchecked. Use the '''Select all''' or '''Select none''' link to to more quickly change all the check boxes.
 
 
 
''REMEMBER: These are <u>restrictions</u>. The selected vehicle types will be restricted. The unselected vehicle types will be allowed.''
 
 
 
{{Red|Note: Currently the Waze client app does not differentiate between different vehicle types, so these setting will not currently have any affect on routing.}}
 
 
 
=== Text Description ===
 
 
 
Leave a description for the nature of the restriction. If the restriction is the result of signs or markings, make note of this. If the restriction is the result of construction or road work, leave details about the closure.
 
 
 
If too many characters in the description field, an may result in an error when saving the restriction to the WME. {{Red|(Note: This has not been verified.)}}
 
 
 
== Examples ==
 
 
 
The following examples cover specific situations to provide more guidance. Some of the examples below will be turn based restrictions, but the method is the same for the segment restrictions.
 
 
 
=== Date range results ===
 
 
 
The following table includes example date range combinations and the resulting restrictions that it would generate:
 
 
 
{|
 
|-
 
|'''Days of the week'''
 
|'''Time Range'''
 
|'''Date Range'''
 
|'''Restriction Result'''
 
|-
 
|Sunday
 
|All day
 
|12.1.2014 - 12.31.2014
 
|Every Sunday on December 2014, from 00:00 until 23:59:59.
 
|-
 
|Monday - Friday
 
|09:00-11:00
 
|Every Week
 
|Every weekday from 9am to 11am.
 
|-
 
|Thursday
 
|23:00-03:00
 
|Every Week
 
|Every Thursday from 23:00 until every Friday at 03:00
 
|-
 
|All
 
|All day
 
|7.3.2015 - 7.15.2015
 
|From July 3rd 2015 at 00:00 until July 15th at 23:59:59
 
|}
 
 
 
=== Simple time based restrictions ===
 
 
 
For a turn or segment that is restricted (not allowed) between 10 am and 2 pm daily, click the radio button next to "From", then enter "10:00" and "14:00" as the start and end times of the restriction.
 
 
 
[[Image:Restrictions 10-14.jpg]]
 
 
 
Click "Add" to add the restriction. You will be returned to the Time based restrictions panel. The panel should now reflect the added restrictions.
 
 
 
[[Image:Restrictions list 10-14.jpg]]
 
 
 
For a turn that is restricted between 7 and 9 am, and again between 4 and 6 pm, add the restrictions one-by-one as instructed above. When added, the panel should look like this.
 
 
 
{{Red|((Insert image of panel with 7-9 and 16-18 restrictions added - n peters to bienville example))}}
 
 
 
==== Overnight time based turn restrictions ====
 
 
 
Time-of-day restriction periods may cross midnight. For a turn that is restricted between 8 pm and 6 am, enter the From time as 20:00 and the To time as 6:00.
 
 
 
{{Red|((Insert image of panel with 20-23:59 and 0-6 restrictions added - bourbon street example))}}
 
 
 
=== Date-based turn restrictions ===
 
 
 
Some restrictions may also only be in place on certain days of the week. For a turn that is restricted "weekends", check only the boxes for "Sat" and "Sun".
 
 
 
[[Image:Restriction SatSun only.jpg]]
 
 
 
=== Time-and-date-based turn restrictions ===
 
 
 
For a turn that is restricted "2 pm to 4 pm, weekdays", when adding the restriction, uncheck the boxes next to "Sat" and "Sun", and enter "14:00" and "16:00" in the time boxes.
 
 
 
[[Image:Restriction m-f 14-16.jpg]]
 
 
 
=== Time-of-year and holiday turn restrictions ===
 
 
 
Some restrictions may only be in place during certain times of year. If on a specific date and time, set the appropriate combination.
 
 
 
At this time, there is no way to schedule a yearly repeating holiday restriction. You must enter each year manually.
 
 
 
=== Reversible road ===
 
 
 
Reversible roads are roads whose travel direction depends on the time of day, to allow more lanes of travel into or out of a city in order to handle the additional vehicle load during rush hours.
 
 
 
On the Waze map, a reversible road is set up as a 2-way road, and then the allowed travel directions are set up as restrictions. This is a bit tricky because Waze uses the idea of ''restrictions,'' which is the opposite of ''allowed.'' For example, say a road allows travel northbound only between the hours of 6AM to 11AM. Those are the allowed hours of travel that direction. In the Waze restrictions setup, we would have to ensure that travel in that direction is ''restricted from 11:01AM to 5:59AM.''
 
 
 
==== Reversible roads with vehicle type restrictions ====
 
 
 
Some reversible roads may also be restricted to certain vehicle types. A common example of this is the reversible HOV lane.
 
 
 
Some cities have reversible roads set up that are also HOV lanes. Two examples are in Seattle and are the I-90 and I-5 Express Lanes. These lanes reverse travel direction depending on the time of day, but these lanes are also HOV lanes, so you aren't allowed on them unless your vehicle meets the requirements.
 
 
 
Below are the current setup for the I-5 Express Lanes in Seattle, WA, based on [http://www.wsdot.wa.gov/Northwest/King/ExpressLanes/Weekdays.htm|the published schedules] by the Washington Department of Transportation.
 
 
 
[[Image:I-5 express seattle a-b restrictions list.jpg]]
 
 
 
[[Image:I-5 express seattle b-a restrictions list.jpg]]
 
 
 
While the WSDOT webpage is very simple what the schedule is, only having two entries, to translate that into restrictions is much more complicated.
 

Latest revision as of 10:55, 30 November 2015

This is a documentation subpage for Template:Clear.
It contains usage information, categories and other content that is not part of the original template page.

This template makes content wait until existing content (typically tables and images) is fully displayed in all columns before letting subsequent content be displayed. It uses the <div style="clear:TYPE;"></div> formatting to prevent the extra line break that comes with <br style="clear: both" />.

The TYPE variable is controlled with the second parameter as follows:

  • {{clear|left}} - Only the left column must be complete before subsequent content is displayed
  • {{clear|right}} - Only the right column must be complete before subsequent content is displayed
  • {{clear}} or {{clear|both}} - Both left and right columns must be complete before subsequent content is displayed

This template does not generate visible text in the Wiki page.