Skip to content

bicycle=use_sidepath not recognized; preference for cycleways is off #1454

Closed

Description

@jengelh

https://www.openstreetmap.org/directions?engine=graphhopper_bicycle&route=51.51773%2C9.94051%3B51.52776%2C9.93919#map=18/51.52173/9.94200
I'm not sure if they have their own graphhopper (and what version) or whether it is delegated to an external instance. I hope it does not matter.

The route so determined includes e.g. way 262459057, which is not allowed for bicycles due to bicycle=use_sidepath. Even so, the routing engine IMO should even prefer highway=cycleway over highway=primary if the time difference is miniscule.

https://www.openstreetmap.org/directions?engine=graphhopper_bicycle&route=51.51659%2C9.94031%3B51.52776%2C9.93919#map=16/51.5231/9.9442
This routing result is also a strange one. Seems like a cycle road is given (unnecessarily) higher preferrence over a cycleway.

Activity

  1. karussell commented on Sep 7, 2018

    @karussell
    Member

    Thanks for reporting. So in the second case you'd prefer something like this?

    We should have a look why this is not used. But there is one segment (marker 3) where there seems to be a data issue and the segment is completely forbidden (could be road connectivity issues, a barrier or an access tag)

  2. jengelh commented on Sep 7, 2018

    @jengelh
    Author

    Yes, I would prefer a simple northbound route like that.

    a data issue and the segment is completely forbidden

    Not saying there isn't a problem, but I am confident it's error free. Why - because adding waypoints was enough. A vetoed segment would always be routed around, I would argue. (Unless your definition of "completely forbidden" is still "it's allowed, with a preference of -2147483648". ;-) )

  3. added a commit that references this issue on Jul 22, 2021
    d4b8a60
  4. added a commit that references this issue on Jul 23, 2021
    07e5429
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