GTFS-RT - cancelled med konstiga stops
SL levererar fortfarande konstiga cancelled GTFS-RT trip updates:
T.ex från nu:
{
"startTime": "09:28:26",
"startDate": "20260902",
"scheduleRelationship": 3,
"routeId": "9011001001700000",
"directionId": 0
}
118 stops liknande dessa:
[
{
"stopSequence": 1,
"stopId": "9022001001331001",
"arrival": { "delay": 0, "time": 1788334106 },
"departure": { "delay": 0, "time": 1788334106 }
},
{
"stopSequence": 2,
"stopId": "9022001001331002",
"arrival": { "delay": 0, "time": 1788334106 },
"departure": { "delay": 0, "time": 1788334106 }
},
{
"stopSequence": 60,
"stopId": "9022001001011004",
"arrival": { "delay": 0, "time": 1788334106 },
"departure": { "delay": 0, "time": 1788334106 }
},
{
"stopSequence": 118,
"stopId": "9022001001951001",
"arrival": { "delay": 0, "time": 1788341306 },
"departure": { "delay": 0, "time": 1788341306 }
}
]
a) Det finns ingen linje med 118 stopp. Jag antar att detta är en sammanslagning av flera turer (trips) - dock saknas trip id för cancelled.
b) Timestamp repeteras också.
T.ex från nu:
{
"startTime": "09:28:26",
"startDate": "20260902",
"scheduleRelationship": 3,
"routeId": "9011001001700000",
"directionId": 0
}
118 stops liknande dessa:
[
{
"stopSequence": 1,
"stopId": "9022001001331001",
"arrival": { "delay": 0, "time": 1788334106 },
"departure": { "delay": 0, "time": 1788334106 }
},
{
"stopSequence": 2,
"stopId": "9022001001331002",
"arrival": { "delay": 0, "time": 1788334106 },
"departure": { "delay": 0, "time": 1788334106 }
},
{
"stopSequence": 60,
"stopId": "9022001001011004",
"arrival": { "delay": 0, "time": 1788334106 },
"departure": { "delay": 0, "time": 1788334106 }
},
{
"stopSequence": 118,
"stopId": "9022001001951001",
"arrival": { "delay": 0, "time": 1788341306 },
"departure": { "delay": 0, "time": 1788341306 }
}
]
a) Det finns ingen linje med 118 stopp. Jag antar att detta är en sammanslagning av flera turer (trips) - dock saknas trip id för cancelled.
b) Timestamp repeteras också.
Följ inlägget
1
följare
Borttagen kommentar