You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know how this is meant. It is still discussable if this is the same way where it is passable. So IMO in the photo this would be two different ways and locked=yes means inaccessible for all transportation modes.
Activity
bt90 commentedon Apr 21, 2024
An example from the OSM wiki:
It's locked, yet still passable for bikes and pedestrians.
karussell commentedon Apr 21, 2024
I know how this is meant. It is still discussable if this is the same way where it is passable. So IMO in the photo this would be two different ways and locked=yes means inaccessible for all transportation modes.
bt90 commentedon Apr 21, 2024
Seems like a tagging mistake to me:
https://maps.app.goo.gl/yw1dCcgVTrKYRFBo7
BURMAUG commentedon May 13, 2024
If bikes are allowed and pedestrians can walk freely then yes to both but not a vehicle.
caspg commentedon Jun 9, 2024
I asked question about this on forum https://discuss.graphhopper.com/t/barrier-lift-gate-is-blocking-bike/8398
I have similar node near me (Poland) which blocks routing through official cycling route.
I would vote for ignoring
locked=yesif there is[access]=yes.karussell commentedon Jun 10, 2024
Probably the majority of mappers uses
locked=yesas equivalent toaccess=noand in such a case we would also let it through forbicycle=yes.caspg commentedon Jun 10, 2024
I did this change in my fork to allow bicycles when there is
locked=yes. Maybe something like this could go to the main branch?commit
Fix for graphhopper#2982
ratrun commentedon Jun 10, 2024
I think that one also needs to take the transportation mode into regard. See master...ratrun:biketourplanner:issue2982 for a draft
caspg commentedon Jun 11, 2024
@ratrun Don't we already return
restrictionKeysbased on transportation mode?https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/parsers/AbstractAccessParser.java#L37
Then below lines will return
trueforbicycle=yesonly for bike profile, right?ratrun commentedon Jun 11, 2024
Yes, you are right. Thank you! I now simplified my change and created a PR, see #3018
caspg commentedon Jun 11, 2024
@ratrun nice one
Fix for #2982 (#3018)