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

OpenTripPlanner groups identical patterns with different shapes and return the wrong shape for trips #5912

Open
miklcct opened this issue Jun 15, 2024 · 3 comments

Comments

@miklcct
Copy link

miklcct commented Jun 15, 2024

Construct a GTFS data set of multiple trips consisting of identical calling patterns, but with different shapes, as they uses different routes between the same stops.

Make a journey plan on the route for various times to return different trips.

Expected behavior

The shape corresponding to the trip is returned in the result.

Observed behavior

A wrong shape is returned for some of the trips.

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

2.4.0

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

A custom data set

@t2gran
Copy link
Member

t2gran commented Aug 12, 2024

Is this a theoretical problem? Do you serve the same stops with multipe modes?

This is usually not a problem, since different modes does not share the same stops. Also, it is probably not important enough to fix - depending on how complex it is to do so. A bit more context why this is a problem would help. Unless someone comes up with a good use-case, we would like to keep just one pattern for a given sequence of stops.

@miklcct
Copy link
Author

miklcct commented Aug 12, 2024

I used a real dataset representing National Rail data which is under development. All the trips are of the same mode (train).

There are a number of train services which call at the same stations, but use different routing because there are track works affecting the normal route.

@miklcct
Copy link
Author

miklcct commented Aug 14, 2024

Also different modes (metro and rail) do share stops in London (bus and tram also share stops in Stockholm as well on the route 7 - it is a tram route but relief vehicles can be buses). I haven't tested the behaviour on this but plan to do so when I can produce an integrated feed of tube and rail.

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

No branches or pull requests

2 participants