https://github.com/josm/turnlanes-tagging
Provides an alternative way to add turn:lanes tags on highways
https://github.com/josm/turnlanes-tagging
josm plugin turn-lanes
Last synced: about 1 year ago
JSON representation
Provides an alternative way to add turn:lanes tags on highways
- Host: GitHub
- URL: https://github.com/josm/turnlanes-tagging
- Owner: JOSM
- Created: 2016-05-11T16:19:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-04-02T07:35:00.000Z (about 1 year ago)
- Last Synced: 2025-04-10T12:44:43.658Z (about 1 year ago)
- Topics: josm, plugin, turn-lanes
- Language: Java
- Homepage:
- Size: 1.2 MB
- Stars: 35
- Watchers: 6
- Forks: 7
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TurnLanes-tagging plugin for JOSM
TurnLanes-tagging Editor plugin provides an alternative way to add [turn:lanes tags](https://wiki.openstreetmap.org/wiki/Key:turn#Turning_indications_per_lane) on highways
## Installing the plugin

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**

**Adding turn lanes in bidirectional highways**

## 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.

- 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.

- 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.

*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](https://twitter.com/Rub21tk) or open a [ticket](https://github.com/JOSM/turnlanes-tagging/issues/new)**