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

Different stop timetables in Matka.fi and Waltti in Turku #115

Open
PasiSalenius opened this issue Sep 6, 2017 · 0 comments
Open

Different stop timetables in Matka.fi and Waltti in Turku #115

PasiSalenius opened this issue Sep 6, 2017 · 0 comments

Comments

@PasiSalenius
Copy link

PasiSalenius commented Sep 6, 2017

Asking for stop departure times in Turku at stop Kauppatori (T7) returns different results from /finland and /waltti endpoints.

The same query was done for both endpoints (used MATKA:T7 and FOLI:T7 as identifier):
stop(id: "FOLI:T7") { stoptimesForPatterns(startTime: "1504720472", timeRange: 7200, numberOfDepartures: 20) { ... } }

Snippet of result from Matka.fi
{ "pattern": { "code": "MATKA:7935249::01", "headsign": "Kauppatori", "directionId": -1, "route": { "gtfsId": "MATKA:7935249", "mode": "BUS", "shortName": "610", "longName": "Avanti-Kauppatori", "url": null } }, "stoptimes": [ { "trip": { "gtfsId": "MATKA:14_320414" }, "stop": { "gtfsId": "MATKA:T7" }, "scheduledArrival": 78480, "realtimeArrival": 78480, "scheduledDeparture": 78600, "realtimeDeparture": 78600, "serviceDay": 1504645200, "realtime": false }, { "trip": { "gtfsId": "MATKA:14_320415" }, "stop": { "gtfsId": "MATKA:T7" }, "scheduledArrival": 81960, "realtimeArrival": 81960, "scheduledDeparture": 82200, "realtimeDeparture": 82200, "serviceDay": 1504645200, "realtime": false } ] }

Snippet of result from Waltti
{ "pattern": { "code": "FOLI:5:1:01", "headsign": "Kauppatori", "directionId": 1, "route": { "gtfsId": "FOLI:5", "mode": "BUS", "shortName": "610", "longName": "Avanti-Kauppatori", "url": null } }, "stoptimes": [ { "trip": { "gtfsId": "FOLI:00015367__6666generatedBlock" }, "stop": { "gtfsId": "FOLI:T7" }, "scheduledArrival": 78490, "realtimeArrival": 78490, "scheduledDeparture": 78490, "realtimeDeparture": 78490, "serviceDay": 1504645200, "realtime": false }, { "trip": { "gtfsId": "FOLI:00015368__6667generatedBlock" }, "stop": { "gtfsId": "FOLI:T7" }, "scheduledArrival": 81970, "realtimeArrival": 81970, "scheduledDeparture": 81970, "realtimeDeparture": 81970, "serviceDay": 1504645200, "realtime": false } ] }

Also the other stoptimes have similar differences. Not all of them are explained by realtime updates.

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

1 participant