Support for conditional access tags
With https://github.com/Project-OSRM/osrm-backend/pull/3841, we gained support for conditional turn restrictions.
We should also implement conditional access:conditional tags, example:
https://www.openstreetmap.org/way/242346384
@karenzshea can you spec out the tasks that need to be done here?
We can expand the meaning of our existing conditional restriction flags to include access=conditional tags on non-relation features.
- During
wayparsing in extraction, save ways tagged withaccess:conditionalto disk like we do with restrictions with data node ids,is_onlyand opening hours.- this will probably require a new osrm file, or we'll need to figure out how to make them share the
.osrm.restrictionsfile - we can maybe genericize the serializer for both restricted turns and ways
- this will probably require a new osrm file, or we'll need to figure out how to make them share the
- In the update handler (shared by contraction/customization) parse way restrictions and apply them if the condition is valid
- Tests
A lot of the hard work is already in place, like condition validation and time zone handling, so this shouldn't be as complicated of a lift as conditional turns.
Do we support conditional access now?
Do we support conditional access now?
Still not supported, tested today.
This feature is referenced by: https://github.com/Project-OSRM/osrm-backend/issues/4300 https://github.com/Project-OSRM/osrm-backend/issues/5801 https://github.com/Project-OSRM/osrm-backend/issues/6706