Skip to content

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

@PasiSalenius

Description

@PasiSalenius

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions