Skip to content

De-prioritize ways tagged with foot=use_sidepath - #3035

Merged
karussell merged 3 commits into
graphhopper:masterfrom
ratrun:foot_use_sidewalk
Jul 6, 2024
Merged

karussell merged 3 commits into
graphhopper:masterfrom
ratrun:foot_use_sidewalk

Conversation

@ratrun

@ratrun ratrun commented Jul 6, 2024

Copy link
Copy Markdown
Contributor

Triggered by the discussion in the OSM community forum I discovered that graphhopper does not yet have support for foot=use_sidepath. This PR adds it.

@karussell

Copy link
Copy Markdown
Member

Thanks! Can we just use REACH_DESTINATION as we do for bikes?

@ratrun

ratrun commented Jul 6, 2024

Copy link
Copy Markdown
Contributor Author

Thanks! Can we just use REACH_DESTINATION as we do for bikes?

I expected this question 😄 ! Of course it would be possible. But when you read the discussion on the OSM community forum as graphhopper currently does not have any support for this tag/value combination, graphhopper does not produce the discussed long detours yet. It will return the detours with the change. I believe that REACH_DESTINATION is too restrictive for foot. When the detour is too long you jump on the street. It is subjective. If you really want me to change it to REACH_DESTINATION I will.

@karussell

Copy link
Copy Markdown
Member

I see, so let's keep it as it is. Can you refer to this issue in the code so that we know this in case of a bigger refactoring regarding the priority&speed?

@ratrun

ratrun commented Jul 6, 2024

Copy link
Copy Markdown
Contributor Author

I just added the requested reference in the code in 40d970d

@karussell
karussell merged commit 0f8eff3 into graphhopper:master Jul 6, 2024
@karussell karussell added this to the 10.0 milestone Jul 6, 2024
@ratrun
ratrun deleted the foot_use_sidewalk branch September 7, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants