Skip to content

bicycle routing support for cycleway:left and cycleway:right tag #280

Closed

Description

Activity

  1. karussell commented on Nov 4, 2014

    @karussell
    Member

    Do you mean this for oneway stuff or for changed priority due to the different safety?

  2. ratrun commented on Nov 5, 2014

    @ratrun
    ContributorAuthor

    More important is support for the oneway stuff in order to avoid longer detours. If possible priority handling can also be implemented, although it is not easily possible to decide what to prefer for which kind of bike. E.g. a racebike rider probably will not like to go against a oneway.

  3. added this to the 0.5 milestone on Feb 23, 2015
  4. karussell commented on Mar 2, 2015

    @karussell
    Member

    Hmmh, the problem is that left and right is country dependent if we want to find out the oneway stuff, right?

  5. karussell commented on Mar 2, 2015

    @karussell
    Member

    Or is it identical to the :forward and :backward stuff? #205

  6. ratrun commented on Mar 2, 2015

    @ratrun
    ContributorAuthor

    I think that the oneway aspect of this issue (values=opposite*) is identical to #205. After making some overpass queries I found out that the usage of #205 (bicycle:backward) is much more common compared to the cycleway:left or cycleway:right usage with "opposite". I cannot see any country dependent aspect. It does not matter if the car traffic runs on the left or on the right side.

    Besides the oneway aspect of this issue there is the priority handling aspect, which eventually should be handled differently for every kind of bike. Here I see some relation with one of the aspects of #330, where the highway classification tag, if present, should have some influence on the priorisation. E.g. highway=primary together with some cycleway "lane, track ..." tag should not lead to increased preference, especially when comparing to an ordinary highway=residential or highway=unclassified without any cycleway. The same is true if the cycleway is running opposite to a oneway. We should not prefer such a cycleway. I quickly checked the code, I could not find any part where we are rating down the priority in these cases. I know people, which claim to have statistics, which say that these kind of cycleways are extremly dangerous for a cyclist. I believe that they might be right.

  7. karussell commented on Mar 3, 2015

    @karussell
    Member

    It does not matter if the car traffic runs on the left or on the right side.

    Okay, my bad, so it is entirely dependent on the 'tagging direction'

    I've fixed #205, will include bicycle:backward now and handle the prioritization after 0.4

  8. karussell commented on Mar 3, 2015

    @karussell
    Member

    Hmmh, according to the wiki the bicycle:backward has a different meaning.

  9. karussell commented on Mar 3, 2015

    @karussell
    Member

    Maybe you have some direct link with current wrong behaviour? (regarding access restriction)

    BTW: The cycleway:left/right is not that rare (see here).

  10. ratrun commented on Mar 3, 2015

    @ratrun
    ContributorAuthor

    In my last comment I meant that cycleway:left and cycleway:right with the value opposite* are rare, but not that the whole tag is rare. So actually I was quite wrong in my initial comment on this issue, where I meant the opposite stuff is more important compared to the priorisation.

    With overpass turbo I found this example as testcase: http://www.openstreetmap.org/way/160978261 for a cycleway_left opposite_lane

    and here is a graphhopper link:

    https://graphhopper.com/maps/?point=48.896183%2C9.188351&point=48.893157%2C9.190096&vehicle=bike&elevation=true&layer=Lyrk

    You are also completely right when you say that "bicycle:backward" is different to cycleway=opposite*. I was not aware of the strange "bicycle:backward=no" definition: "when a road has a oneway cycleway next to it that must be used, and a cyclelane in the other direction". So in the "no" case there should be an impact on the prioritisation in both directions, and ignore any oneway restriction in the common bicycle encoder. In the bicycle:backward="yes" case only the oneway restriction gets overruled.

  11. karussell commented on Mar 3, 2015

    @karussell
    Member

    Okay, thanks

    I was not aware of the strange "bicycle:backward=no" definition

    Yeah, super strange. But now implemented ;)
    so if bicycle:backward is existent a possible oneway=true tag is ignored

  12. karussell commented on Jul 28, 2015

    @karussell
    Member

    Was this already implemented in some pull request @ratrun ? If not, do you intend to propose one? Otherwise I would postpone this issue ...

  13. ratrun commented on Jul 30, 2015

    @ratrun
    ContributorAuthor

    The priority aspect of this issue is still open. I do not intend to make a pull request now, maybe I'll look at it in Winter. I believe that it will be not that easy to get consistent priority handling.

  14. karussell commented on Aug 3, 2015

    @karussell
    Member

    Ok, thanks! Postponing for now

  15. removed this from the 0.5 milestone on Aug 3, 2015
  16. ratrun commented on Dec 6, 2016

    @ratrun
    ContributorAuthor

    Thanks for the reminder. I'm going to provide a simple PR without the priority aspect. The reason is that we are already accepting cycleway:oposite_lane currently without priority downgrade and it is reasonanable to hande cycleway:left and cycleway:right the same way.

  17. AllroadsNL commented on Sep 23, 2019

    @AllroadsNL

    ignored cycleway:left lane

    situation

    Still not fixed!
    People use routing engine to test, control, because it is not fixed people try to fix it by setting wrong tags.

  18. ratrun commented on Oct 26, 2019

    @ratrun
    ContributorAuthor

    There is a bug with bicycle:forward=use_sidepath, this is considered as one-way. I plan to provide a pull request for this.

  19. karussell commented on Jan 3, 2022

    @karussell
    Member

    Is this fixed now?

  20. ratrun commented on Jan 3, 2022

    @ratrun
    ContributorAuthor

    Yes, I believe that this issue can be closed.

  21. added a commit that references this issue on Jan 7, 2025
    f24e275
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions