Skip to content

vehicle=destination should be preferred over access=private #3157

Closed as duplicate

Description

@spixi

Describe the bug
A bicyle road in Germany is usually tagged with "highway=unclassified", "bicycle=designated" and "vehicle=destination". In that case, the algorithm tries to avoid that bicycle road and wants to use private parking side-lanes ("highway=service", "access=private").

To Reproduce
https://graphhopper.com/maps/?point=48.312076%2C11.913495_Am+Stadion%2C+85435+Erding%2C+Bayern%2C+Deutschland&point=48.314935%2C11.91254&profile=car&layer=Omniscale
https://www.openstreetmap.org/directions?engine=graphhopper_car&route=48.312285%2C11.913536%3B48.315004%2C11.911594#map=18/48.313707/11.914201

Expected behavior
The detour over the parking side-lanes should be avoided. Instead the direct way should be preferred.

Screenshots & Logs
Image
Image
Image

Activity

  1. otbutz commented on Apr 10, 2025

    @otbutz
    Contributor

    Please, don't do this:

    Image

    Tagging for the renderer is frowned upon in the OSM community.

  2. spixi commented on Apr 10, 2025

    @spixi
    Author

    Please, don't do this:

    Image

    Tagging for the renderer is frowned upon in the OSM community.

    You probably mean Tagging for the router, but how can I avoid this?

  3. otbutz commented on Apr 10, 2025

    @otbutz
    Contributor

    This is something that should be fixed in GraphHopper and not in the OSM dataset. The previous tagging was correct as far as I can see. You should revert your changeset.

  4. ratrun commented on May 15, 2025

    @ratrun
    Contributor

    The title of this issue is not correct any longer as the detected detours are not tagged as access=private any more. But the problem still exists. It cannot be easily solved via changing the priority assignment in the car.json custom model.
    The issue is that if an edge can only be reached via other edges tagged as vehicle=destination, such an edge should inherit its road_access=destination encoded value from the vehicle=destination edge leading to it. So the title might be changed maybe into "Edges reachable via road_access=destination edges only should inherit the road_access value from its feeder edge".
    I think that this issue might be a duplicate or related with #733, but not sure.

  5. karussell commented on May 16, 2025

    @karussell
    Member

    Yes, I think you are right @ratrun.

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