Before starting, it’s useful to customize JOSM by adding the tagging preset and map paint style to work with the schema.
Map Paint Style
Setting up JOSM for turn:lanes mapping.
From your JOSM preferences, choose tab Map Settings
From the Map Paint Style list, add the Lane and roads attributes style
From the Tagging Preset list, add the Lane attributes preset
Press OK button at the bottom of the dialog.
The junction consists of two roads each of them with two lanes. Add a lanes=2 tag for each road and split the roads at the junction.
The secondary road running from north to south has additional lanes for left turns. Split it where the extra lanes start and add a lanes=3 tag.
Now you can add the lane indications for forward and reverse directions.
and similarly for the secondary road.
With the style preset activated, you should now see lane direction arrows just as you would on a road.
You can add these values also through the preset form. You can access it from Presets > Lanes > Multi lanes (dualway).
Mapping turn lanes using ‘turnlanes:turns’ schema
At complex junctions, the turn:lanes approach may become too ambiguous to create accurate turn by turn guidance. This is where turnlanes:turns tagging comes into play. It allows for connecting a turn lane directly with the road it leads to.
To get started install the turn lane plugin directly from JOSM’s settings panel. It provides support for both Key:turn tags and type=turnlanes:turnsrelations.
As an example, let’s look at how to map turn lanes in detail on this intersection alongside US 101 in South San Francisco.
Lane-specific turn restrictions along US 101 Exit 425B.
Enable the “Turn Lanes” panel in the “Windows” menu.
Identify the number of lanes on all the roads leading to and from the junction.
Add the number of lanes to the appropriate ways as a regular tag - for example, lanes=2.
Split the ways that will be parts of relations. Then, for each turn lane restriction, select the nodes and ways involved to define a rule. You should see the junction modeled as shown once the lane count for all the roads have been set.
exit_to=Oyster Point Boulevard;
Initially this way has one lane which splits into three before the junction. At 141 meters before the junction, add the left lane. At 92 meters, add the lane on the right side. These lanes can be added by clicking the white plus button and setting the start position by dragging the blue marker back from the junction.
Add a lane to turn left for a small section of Dubuque Avenue. You can pan the model by dragging with the right mouse button.
Now create rules for the thoroughfare from motorway junction #425B with rules for each lane by dragging a route across the relevant junctions and lanes.
Add similar rules for all directions where applicable.
Now let’s check our work by selecting nodes and reviewing traffic flow. To cycle through all directions press Ctrl+A for an overview of all restrictions on the junction.