New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support OSM objects with opening hours for street network routing #3097
Comments
Just adding that I know that opening hours is a constant issue (questions asked with difficult answers given) in OSM. Mostly because some opening hours can so complex. Both in time restrictions (sometimes conditional) but also because certain areas within an area might have different hours - and as you say, certain modalities may be affected individually. https://wiki.openstreetmap.org/wiki/Key:opening_hours Semi amusing example:
|
It would be nice if OTP had limited supported for opening hours, at least for WALKING, BICYCLE and CAR. WALKING is most important, and support for big parks like the botanical garden in Oslo is the most important geographical thing to support. A short street section can be ignored - at least for the first implementation. I think we should start with the simplest possible thing that gives us value. OTP is not build to be a sophisticated street router, but some support for opening hours would be great. Suggestions/possibilities
|
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days |
Related to #4355 |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days |
Serial stale-issue |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days |
One common issue with routing on street network is that paths are suggested to users that are not viable at certain hours of the day because a mall or a park is closed, for example. This type of a simple restriction can be modeled with opening_hours. There are also more complex situations where, for instance, the opening hours only apply to driving on a street but pedestrians can still walk on the road. However, I'm not sure if there is a way to model this type of a restriction with OSM and it's perhaps not something we want to support as OTP isn't optimized for car routing.
We had a short discussion about this topic with @abyrd @hannesj @t2gran where we identified some potential issues. For example, how we should take into account the time restrictions when we don't know when the user will pass a time restricted area as it can depend on the transit routing results.
More discussion and potential viable solutions can be discussed under this issue.
Expected behavior
OTP takes into account in routing the opening_hours definitions from OSM for street network routing. In other words, if a park is closed at night, OTP will not suggesting walking through it if the opening hours are defined in OSM data.
Observed behavior
OTP ignores opening_hours.
Version of OTP used (exact commit hash or JAR name)
Affects both OTP 1 and 2 but perhaps should be primarily fixed in OTP 2.
The text was updated successfully, but these errors were encountered: