Proposal:Lane and lane group/Example 01
Jump to navigation
Jump to search
This is an example for the lane and lane group proposal.
It features a two-lane road with a cycleway for each direction and a single footway. The mapper decided to draw one of the cycleways as an own way. The lanes have different surfaces (asphalt, cobblestone on the footway) and widths.
The example is also available as an .osm file that can be edited in JOSM or any text editor.
Details
The example consists of
- a highway that is tagged as usual:
highway=secondary maxspeed=50
- a separate way for the right cycleway:
lane=cycleway oneway=yes surface=asphalt width=1
- relation for right vehicle lane:
lane=vehicle_lane oneway=yes surface=asphalt width=4
- relation for left vehicle lane:
lane=vehicle_lane oneway=-1 surface=asphalt width=4
- relation for left cycleway:
lane=cycleway oneway=-1 surface=asphalt width=1
- relation for footway (on the left):
lane=footway surface=cobblestone width=1
- and a relation to group all this together
type=lane_group
- with the following members:
- highway, as "highway"
- right cycleway, as "2"
- right vehicle lane, as "1"
- left vehicle lane, as "-1"
- left cycleway, as "-2"
- footway, as "-3"
(0 would be the middle between the directions (normally))