osrm-backend
osrm-backend copied to clipboard
Handle conditional access tags for date ranges
Issue
OSRM currently don't support conditional access tags. This is a very useful feature, especially in the context of roads being closed due to construction work or events.
Several people have requested this feature (#4231, #4300, #5801, #6706)
This PR takes a simple and lightweight approach to this problem, and handles it through the profile libs.
Note that we here only handle conditional time ranges, and require them to span for more than a week, using the format as described in the OSM wiki, e.g. motor_vehicle:conditional=no @ 2018 May 22-2018 Oct 7.
Tasklist
- [x] CHANGELOG.md entry (How to write a changelog entry)
- [ ] update relevant Wiki pages
- [x] add tests (see testing documentation)
- [ ] review
- [ ] adjust for comments
- [ ] cherry pick to release branch
Requirements / Relations
Link any requirements here. Other pull requests this PR is based on?