Skip to content

Expose the change / change:lanes tags, resolved to direction of travel #129

Description

@dsaderholm

Following on from #127, and shaped the way you described there: resolved to the direction of travel, folded into one output, no per-direction fields.

Would you consider carrying OSM's change / change:lanes and exposing the value for our direction as a single output?

It is the closest thing OSM has to "may I change lanes here". change=no is a solid line. change:lanes=not_left|yes says the leftmost lane may not cross left while the next one may. overtaking is the European tag for roughly this and reads 0% in Utah, so I had assumed the concept was unmapped here until I enumerated the tags instead of guessing at them.

Measured on US-6 in Utah, 497 ways, 134 carrying it, grouped by how many lanes run in the forward direction:

1 forward lane    19   14%
2 forward lanes   57   43%
3 forward lanes   38   28%
4 forward lanes   14   10%

86% is on multi-lane sections, which surprised me. I had expected a two-lane-road tag. The values there are not about oncoming at all: change=no with two same-direction lanes is a work zone, a bridge, or a gore area, and that is a restriction nothing on the vehicle can see.

Coverage is lower on interstate, 17 of 400 I-15 motorway ways, and those encode the express lane barrier: no|not_left|yes|yes|yes|not_right|no, lane 1 closed and lane 2 unable to enter it.

For a lane-change feature this is more directly useful than the lane counts I asked for in #127, since it states the restriction rather than making us infer it from geometry.

Happy to test on hardware, same as before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions