osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

Handle conditional access tags for date ranges

Open ivarbrek opened this issue 1 year ago • 9 comments

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

Requirements / Relations

Link any requirements here. Other pull requests this PR is based on?

ivarbrek avatar Jul 08 '24 13:07 ivarbrek