-
https://wiki.openstreetmap.org/wiki/Key:opening_hours I want to avoid routing to ferry outside opening_hours. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yeah that’s a good idea. I don’t think you have to do much for this.. look for “conditional” restrictions in mjolnir/pbfgraphparser.cc. You’d need to extend the logic to look at “opening_hours” tag if there’s a ferry, and set a kTimedAllowed restriction. Testing it we’ll cover on the PR then:) |
Beta Was this translation helpful? Give feedback.
Yeah that’s a good idea. I don’t think you have to do much for this.. look for “conditional” restrictions in mjolnir/pbfgraphparser.cc. You’d need to extend the logic to look at “opening_hours” tag if there’s a ferry, and set a kTimedAllowed restriction. Testing it we’ll cover on the PR then:)