Skip to content

Routing against oneway on oneside - both direction cycle track. #2694

Closed

Description

@Langlaeufer

It looks like there are problems with routing on cycleway=track against direction on oneway streets.

Tagging:
highway=primary
oneway=yes
cycleway:right=track
cycleway:right:oneway=no
(oneway:bicycle=no)

Observation:
Bicycle routing is only working in the direction of the oneway road.

cycleway:right:oneway=no do not show any effect !!! I think this should be enough for 2 direction cycle routing!
(oneway:bicycle=no also have no effect but maybe the dataset is still not updated after 2 days.)

Activity

  1. self-assigned this
    on Nov 11, 2022
  2. karussell commented on Nov 11, 2022

    @karussell
    Member

    cycleway:right:oneway=no

    Where do you see this tagging documented? See https://wiki.openstreetmap.org/wiki/Key:cycleway:right that only mentions: cycleway:right:oneway=-1
    Personally I find no very confusing especially as there is cycleway:right=no with a completely different meaning.

    oneway:bicycle=no

    This tagging should fix the problem. Locally I can no longer reproduce the issue you mentioned.

  3. Langlaeufer commented on Nov 11, 2022

    @Langlaeufer
    Author

    documention is here: https://wiki.openstreetmap.org/wiki/Tag:cycleway%3Dtrack
    To find the documention in the wiki is a general problem

    you need such tagging for describing which of the cycleways is NOT oneway (oneway is defalut).
    in this context oneway:bicycle could be interpreted to be valid for the carriageway too (which of cause does not matter for the routing but for the semantics).

  4. karussell commented on Nov 11, 2022

    @karussell
    Member

    Probably the proper wiki page for the "oneway" values is https://wiki.openstreetmap.org/wiki/Key:oneway
    And there it is explicitly stated that we must support no (additionally to -1) to remove this restriction for bicycle:

    Wrong: oneway=yes + bicycle:backward=yes
    Correct: oneway=yes + oneway:bicycle=no

    For cycleway:right + left the big problem are case where the values are different but we'll assume undefined behaviour for this for now.

  5. added this to the 7.0 milestone on Nov 11, 2022
  6. Langlaeufer commented on Nov 12, 2022

    @Langlaeufer
    Author

    oneway:bicycle=no solves the routing problem but as expected (and imO absolutely correct) causes a wrong visualization in CyclOSM. Now it looks, like the carriageway can be used by bicycle in opposite direction.
    It would be great if cycleway:oneway=no, cycleway:left:onway=no, cycleway:right:oneway=no, cycleway:both:oneway=no would be implemented as an exception from general oneway=yes.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions