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

PT-Isochrones with different access-egress modes. #2855

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

idegeus
Copy link

@idegeus idegeus commented Aug 2, 2023

Regarding #2856

@idegeus idegeus changed the title PT-Isochrones with different access-egress modes. PT-Isochrones with different access-egress modes. #2856 Aug 8, 2023
@idegeus idegeus changed the title PT-Isochrones with different access-egress modes. #2856 PT-Isochrones with different access-egress modes. Aug 8, 2023
@michaz michaz self-requested a review September 28, 2023 16:35
DefaultSnapFilter egressSnapFilter = new DefaultSnapFilter(egressWeighting, encodingManager.getBooleanEncodedValue(Subnetwork.key(egressProfile)));
PtLocationSnapper.Result snapResult = new PtLocationSnapper(baseGraph, locationIndex, gtfsStorage).snapAll(Arrays.asList(location), Arrays.asList(accessSnapFilter, egressSnapFilter));

// TODO: Should also incorporate egressWeighting in some way? Maybe?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah. The issue is that when we exit a station while expanding our circle, we don't know yet if we are going to take another transit leg, or we are already on our egress leg. The router class doesn't support creating labels for both at once.

I think what you chose to do is fine -- only consider one street mode, and call it access or egress depending on the "direction". It does mean that when we say "car", we will take our transfers by "car" as well, so we basically take our car on the bus.

To be resolved another time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants