Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More consistent way and node traversal #847

Open
ansoncfit opened this issue Dec 27, 2022 · 2 comments
Open

More consistent way and node traversal #847

ansoncfit opened this issue Dec 27, 2022 · 2 comments
Labels
cleanup p2 Priority level 2: medium priority, ideally next release street

Comments

@ansoncfit
Copy link
Member

Follow-up to #841 -- we may want to check the isImpassable method there against TraversalPermissionLabeler.isNoThruTraffic.

Example to test; the OSM ways for cars along Hollywood Bowl Rd (e.g. https://www.openstreetmap.org/way/158587690) have tag access=customers. isNoThruTraffic does not allow through-traffic on these ways, but origins can be linked to them? In this case, one solution may be tagging the entrance and exit gates with access=customers in OSM, and add this tag to the isImpassable method. Or along with #806, we can also look into more refined island pruning to handle cases like this.

@ansoncfit ansoncfit added cleanup p2 Priority level 2: medium priority, ideally next release labels Dec 27, 2022
@abyrd
Copy link
Member

abyrd commented Dec 28, 2022

Discussed in today's meeting: our modeling of impassable barriers such as emergency exits is mainly to improve handling of bad OSM input data through island pruning. In the case of no-through-traffic areas we don't want to block them off completely because they are legitimate to traverse if the origin or destination point is closer to them than to any other road. So handling no-through-traffic areas is probably a separate routing issue. It requires blocking traversal based on accumulated state (once you've entered a thru traffic area you can't exit it, but you can exit it if you started in one) so this may violate some routing assumptions. There should be examples of how to handle this in OpenTripPlanner.

@ansoncfit
Copy link
Member Author

Possibly related: access restrictions in the vicinity of https://www.openstreetmap.org/way/502174807

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup p2 Priority level 2: medium priority, ideally next release street
Projects
None yet
Development

No branches or pull requests

2 participants