Routing penalties/U-turn minimum: Difference between revisions View history

m (Kentsmith9 moved page Routing penalties/U-turn Minimum to Routing penalties/U-turn minimum without leaving a redirect)
m (abbreviated units like other distance templates)
 
(23 intermediate revisions by 6 users not shown)
Line 1: Line 1:
15 m (50 feet)<noinclude>{{documentation}}</noinclude>
<noinclude><small>''(To allow U-turns, the median crossover segment in a box U-turn must be greater than:)''</small>
 
</noinclude><!-- This template has two possible outputs: 1 meter above/greater and 1 meter below/less. The default returns 1 meter above. The greater or less than outputs were originally calculated automatically, but due to a long term error in one of the wiki extensions, it was hard coded.
-->{{#switch:{{{1|}}}
|enabled
|enable
|less
|below = 45.93&nbsp;ft (14&nbsp;m)<!-- No u-turn will be provided -->
|52.49&nbsp;ft (16&nbsp;m)<!-- A u-turn will be provided -->
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 20:12, 2 June 2017

(To allow U-turns, the median crossover segment in a box U-turn must be greater than:)

52.49 ft (16 m)

Documentation[view] [edit] [history] [purge]

This template is used to display the minimum distance required to allow two left turns, or two right turns to generate a U-turn in a route. This template enables this number to be changed if necessary over time without having to change the individual pages.

Other conditions will also contribute to u-turn allowance or prevention. For more information see preventing medial u-turns.

The template has two possible outputs to display the minimum distance required to enable a u-turn and the maximum distance to disable a u-turn. The default output is the minimum distance to enable a u-turn.


Parameters

When the template is used with |less, |below, or |disable, the output will be the distance below the threshold and therefore the maximum distance that will disable a u-turn.

When the template is used without any parameter (or any other undefined parameter), the output will be the minimum distance above the threshold that will allow a u-turn.

Usage

Place {{[[::Routing_penalties/U-turn_minimum|:Routing_penalties/U-turn_minimum]]}} on any page where you want to display the minimum segment length to allow a u-turn:

52.49 ft (16 m)


Place {{[[::Routing_penalties/U-turn_minimum|:Routing_penalties/U-turn_minimum]]|less}} (or one of the other parameters listed above) anywhere you want to display the maximum length of a segment that will disable a u-turn.

45.93 ft (14 m)


The gap in the two thresholds is due to metric and imperial rounding issues, so a buffer was built into this setting to prevent unexpected results. For more information on this issue, see WME segment length display.

The above documentation is transcluded from Routing penalties/U-turn minimum/doc.
Please add categories to the /doc subpage.
Subpages of this page.