Skip to content

Provides an alternative way to add turn:lanes tags on highways

Notifications You must be signed in to change notification settings

JOSM/turnlanes-tagging

Repository files navigation

TurnLanes-tagging plugin for JOSM

TurnLanes-tagging Editor plugin provides an alternative way to add turn:lanes tags on highways

Installing the plugin

turnlanes91-21

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.

How does it work?

Adding turn lanes in unidirectional highways

4

Adding turn lanes in bidirectional highways

5

To activate the plugin

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 main features are:

  • 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 of lanes.

Example

lanes=5
turn:lanes=left|through|slight_left;through|right|through;right
  • The plugin adds turn:lanes:backward, turn:lanes:both_ways or turn:lanes:forward with theirs respective number of lanes:backward, lanes:both_ways or lanes:forward and the sum of all lanes.

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.

2

  • 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 or turn:lanes:forward the plugin automatically sets up the configuration.

3

  • If the number of lanes does not match with the turn:lanes, the plugin will automatically fix the number of lanes according to the turn:lanes added.

1

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

About

Provides an alternative way to add turn:lanes tags on highways

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages