mapbox / mapbox/osrm-tag-rewriter

Handle implicit oneways

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5
Forks
3
PR merge metrics
No merged PRs in 30d

Description

At the moment our destination and exit number re-writer only re-writes if the ramp is a oneway by means of having a `oneway=*` tag.

There are two implied oneways:
- [`junction=roundabout`](http://wiki.openstreetmap.org/wiki/Tag:junction%3Droundabout)
- [`highway=motorway`](http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway)

we should check in addition.

These are edge cases but for correctness sake we should handle them anyway.

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start by locating the destination and exit number re-writer and inspect how it detects the oneway tag; done means ramps with junction=roundabout or highway=motorway are also rewritten as implicit oneways, with relevant tests updated or added if the project has them.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.