TurnLanes-tagging Editor plugin provides an alternative way to add turn:lanes tags on highways
After this step, if you wish to see the (red) lane outlines and arrow icons you need to turn on the appropriate map style. To do this:
- In JOSM preferences look in the "Map Paint Styles" tab. This can also be reached from the Map Paint Styles window and clicking on the settings (two vertical sliders) icon.
- Select the "Lane and road attributes" from the list of "Available styles" and add to the list of "Active styles".
- Activate the "Lane and road attributes" style by selecting its checkbox in the list of "Active styles". This should be selected in addition to your usual map style.
Adding turn lanes in unidirectional highways
Adding turn lanes in bidirectional highways
Select a way, then the default shortcut Alt+Shift+2 (MacOS: Option-Shift-2 or ⌥⇧2) or menu item Data - Turn lanes tagging editor.
- The plugin is enabled after the highway is selected.
- The plugin contains the combinations of most common preset turn lanes according mapbox-data-team
- The plugin adds
turn:lanes
with its respective number oflanes
.
Example
lanes=5
turn:lanes=left|through|slight_left;through|right|through;right
- The plugin adds
turn:lanes:backward
,turn:lanes:both_ways
orturn:lanes:forward
with theirs respective number oflanes:backward
,lanes:both_ways
orlanes:forward
and the sum of alllanes
.
Example
lanes:backward=2
lanes:both_ways=1
lanes:forward=3
lanes=6
turn:lanes:backward=through|through
turn:lanes:both_ways=left;reversible;right
turn:lanes:forward=left|slight_left|through
- The
recent turn lanes edit
tab contains recent turn lanes added by the user.
-
If a unidirectional highway contains a certain number of lanes, the plugin automatically sets up the configuration for the number of lanes.
-
If the highway contains
turn:lanes:backward
,turn:lanes:both_ways
orturn:lanes:forward
the plugin automatically sets up the configuration.
- If the number of
lanes
does not match with theturn:lanes
, the plugin will automatically fix the number oflanes
according to theturn:lanes
added.
Before
lanes=2
turn:lanes=left|left|
After
lanes=3
turn:lanes=left|left|
If you have any feedback on the plugin, you can find me on twitter or open a ticket