Repository navigation
Conversation
otbutz
force-pushed
the
car_pedestrian
branch
from
February 18, 2025 16:06
34e3315 to
911f6cd
Compare
otbutz
marked this pull request as draft
February 18, 2025 16:23
otbutz
force-pushed
the
car_pedestrian
branch
from
February 19, 2025 09:11
59abf17 to
61f4fe1
Compare
otbutz
marked this pull request as ready for review
February 19, 2025 09:36
otbutz
force-pushed
the
car_pedestrian
branch
from
February 19, 2025 09:37
61f4fe1 to
e309525
Compare
Contributor
Author
Without pedestrian accessWith pedestrian accessGoogle Maps (reference)Valhalla (reference)Most ways in the historic district are tagged with So maybe not the best example, but it works 🙂 |
otbutz
force-pushed
the
car_pedestrian
branch
from
February 19, 2025 15:08
e309525 to
31f6299
Compare
otbutz
commented
Feb 19, 2025
| public abstract class AbstractAccessParser implements TagParser { | ||
| static final Collection<String> ONEWAYS = Arrays.asList("yes", "true", "1", "-1"); | ||
| static final Collection<String> INTENDED = Arrays.asList("yes", "designated", "official", "permissive"); | ||
| static final Collection<String> INTENDED = Arrays.asList("yes", "designated", "official", "permissive", "destination"); |
Contributor
Author
There was a problem hiding this comment.
destination can generally be considered as accessible and doesn't really matter for non-motorized transportation modes.
otbutz
commented
Feb 19, 2025
| if ("pedestrian".equals(highwayValue)) { | ||
| // allow access if explicitly tagged | ||
| String restriction = way.getFirstValue(restrictionKeys); | ||
| if (!intendedValues.contains(restriction)) { |
Contributor
Author
There was a problem hiding this comment.
By using intendedValues we can skip any tagging mistakes like motor_vehicle=asdf
karussell
added a commit
that referenced
this pull request
Oct 8, 2025
karussell
added a commit
that referenced
this pull request
Oct 8, 2025
Member
chazab
pushed a commit
to rayanhidri/graphhopper
that referenced
this pull request
Oct 10, 2025
* use my branch and graphhopper#3122 * slightly faster * test unknown value and conditional with time only (regarding graphhopper#3168)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Fixes #2888
Allow cars to use pedestrian ways, if they are explicitly tagged as accessible.