Skip to content

Plan via visit stations does not work when the stations are on my normal reasonable route #6360

@miklcct

Description

@miklcct

NOTE: this issue system is intended for reporting bugs and tracking progress in software
development. For all other usage and software development questions or discussion, please post a
question in our chat room: https://gitter.im/opentripplanner/OpenTripPlanner.

Expected behavior

It return journeys which changes at the specified station.

Observed behavior

It return journeys which merely pass through, or even without passing through, the specified station.

Version of OTP used (exact commit hash or JAR name)

2.7.0-SNAPSHOT

Data sets in use (links to GTFS and OSM PBF files)

London trains and tubes

Command line used to start OTP

Router config and graph build config JSON

ConsiderPatternsForDirectTransfers is on
TransferConstraints is off

Steps to reproduce the problem

Plan a journey from London Fields to Willesden Green.

There are two normal routes:
Weaver to Liverpool Street, Metropolitan to Finchley Road and Jubilee to Willesden Green
Walk to Hackney Central, Mildmay to West Hampstead (Overground), walk to West Hampstead (Underground), Jubilee to Willesden Green

I add a visit point at Finchley Road & Frognal.
The expected result is to alight Mildmay at Finchley Road & Frognal, walk to Finchley Road and take the Jubilee, but the journey planner still tells me to change at West Hampstead.

I add a visit point at Finchley Road (Underground) instead of the above, the expected result is to only return the routes using the Metropolitan line by changing there, but some of the results still tell me to take the Mildmay to West Hampstead, which doesn't even pass through the station I want to visit.

Note that this problem does not appear if the normal reasonable routes do not pass through the stations I want to visit. The problem only appears if I want to force the change points to be different from the normal one. In the Mildmay - Jubilee example, the normal change point is West Hampstead but it is also possible at Finchley Road or Kilburn / Brondesbury.

Details to be added later

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleThis issue is stale, no activity for 90 days. Remove stale label or comment within 30 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions