STOP_TIMES.TXT

Pysäkkikohtaiset aikataulut

Pysäkkikohtaiset aikataulut vaativat URL:n perään määritteen kyseltävästä aikataulusta joko pysäkin tai ajettavan vuoron perusteella. Pelkkä pyyntö stop_times tauluun tuottaa ohjeen mahdollisista alapoluista.

http://data.foli.fi/gtfs/stop_times
{
    "host": "data.foli.fi",
    "gtfspath": "\/gtfs\/v0",
    "datasets": [
        "20150601-155344"
    ],
    "latest": "20150601-155344",
    "success": false,
    "subpaths": [
        "stop",
        "trip"
    ]
}
	

Aktiiviset pysäkkinumerot

Pysäkkinumerot (stop_id) on saatavilla stops.txt -taulusta tai stop -alahaarasta.

http://data.foli.fi/gtfs/stop_times/stop
[
    "1122",
    "1059",
    "3134",
    "131",
    "1025",
    "1198",
    "5160",
    "135",
/* ...(snip)... */
    "5055",
    "475",
    "5094"
]
	

Pysäkkiaikataulut pysäkkinumeron perusteella

http://data.foli.fi/gtfs/stop_times/stop/%stop_id%
[
    {
        "trip_id": "0000null__1901generatedBlock",
        "arrival_time": "05:20:00",
        "departure_time": "05:20:00",
        "stop_sequence": 0,
        "stop_headsign": "",
        "pickup_type": 0,
        "drop_off_type": 0,
        "shape_dist_traveled": 0
    },
/* ...(snip)... */
    {
        "trip_id": "0000null__6001generatedBlock",
        "arrival_time": "23:59:00",
        "departure_time": "23:59:00",
        "stop_sequence": 28,
        "stop_headsign": "",
        "pickup_type": 0,
        "drop_off_type": 0,
        "shape_dist_traveled": 9796.31302
    }
]
	

Vuorokohtaiset aikataulut

http://data.foli.fi/gtfs/stop_times/trip/%trip_id%
[
    {
        "arrival_time": "05:20:00",
        "departure_time": "05:20:00",
        "stop_id": "1586",
        "stop_sequence": 0,
        "stop_headsign": "",
        "pickup_type": 0,
        "drop_off_type": 0,
        "shape_dist_traveled": 0
    },
/* ...(snip)... */
    {
        "arrival_time": "05:48:00",
        "departure_time": "05:48:00",
        "stop_id": "1",
        "stop_sequence": 40,
        "stop_headsign": "",
        "pickup_type": 0,
        "drop_off_type": 0,
        "shape_dist_traveled": 13188.18374
    }
]