-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi.php
17 lines (12 loc) · 20.6 KB
/
api.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/*$files = scandir('./assets/pictos/voie');
unset($files[0]);
unset($files[1]);
foreach ($files as $file) {
preg_match('([0-9]+)', $file, $matches);
rename("./assets/pictos/voie/$file","./assets/pictos/voie/{$matches[0]}.svg");
var_dump($matches);
}*/
// Cette page est dédiée à faire une simple standard de l'API pour pouvoir faire des tests en offline
header("Content-Type: application/json");
echo '{"count":5,"min_duration":3180,"rawtime":3180,"max_duration":7320,"maxtime":7320,"connections":[{"from":"Cronay, Le Crêt","departure":"2021-12-16 09:19:00","to":"Ste-Croix","arrival":"2021-12-16 11:21:00","duration":7320,"legs":[{"departure":"2021-12-16 09:19:00","x":"542925","y":"178553","isaddress":false,"name":"Cronay, Le Crêt","sbb_name":"Cronay, Le Crêt","stopid":"8583211","type":"walk","terminal":"Yverdon-Champ Pittet","runningtime":4680,"exit":{"arrival":"2021-12-16 10:37:00","stopid":"8504144","x":540717,"y":181514,"name":"Yverdon-Champ Pittet","sbb_name":"Yverdon-Champ Pittet","waittime":0,"lon":6.662319,"lat":46.782156},"type_name":"Trajet à pied","lon":6.691601,"lat":46.755715},{"arrival":"2021-12-16 10:37:00","departure":"2021-12-16 10:37:00","tripid":"T2022_014527_000011_101_245d5e5_0","stopid":"8504144","x":540717,"y":181514,"name":"Yverdon-Champ Pittet","sbb_name":"Yverdon-Champ Pittet","type":"strain","line":"S30","terminal":"Yverdon-les-Bains","waittime":0,"fgcolor":"fff","bgcolor":"039","*G":"S","*L":"30","*Z":"014527","operator":"SBB","stops":[],"runningtime":360,"exit":{"arrival":"2021-12-16 10:43:00","stopid":"8504200","x":539084,"y":181463,"name":"Yverdon-les-Bains","sbb_name":"Yverdon-les-Bains","waittime":180,"track":"3","lon":6.640943,"lat":46.78155},"track":"1","type_name":"RER","lon":6.662319,"lat":46.782156},{"arrival":"2021-12-16 10:43:00","departure":"2021-12-16 10:46:00","tripid":"T2022_000029_000097_001_5d364ee_0","stopid":"8504200","x":539084,"y":181463,"name":"Yverdon-les-Bains","sbb_name":"Yverdon-les-Bains","type":"train","line":"R","terminal":"Ste-Croix","waittime":180,"normal_time":180,"fgcolor":"fff","bgcolor":"039","*G":"R","*Z":"000029","operator":"TRAVYS","stops":[{"arrival":"2021-12-16 10:47:00","departure":"2021-12-16 10:47:00","name":"Yverdon William Barbey","stopid":"8530263","x":538385,"y":182298,"lon":6.631678,"lat":46.788997},{"arrival":"2021-12-16 10:48:00","departure":"2021-12-16 10:48:00","name":"La Brinaz","stopid":"8504291","x":537516,"y":182914,"lon":6.620214,"lat":46.794457},{"arrival":"2021-12-16 10:50:00","departure":"2021-12-16 10:50:00","name":"Valeyres-sous-Montagny","stopid":"8504292","x":536841,"y":183185,"lon":6.611336,"lat":46.796831},{"arrival":"2021-12-16 10:53:00","departure":"2021-12-16 10:53:00","name":"Essert-sous-Champvent","stopid":"8504293","x":534459,"y":183048,"lon":6.580157,"lat":46.795368},{"arrival":"2021-12-16 10:58:00","departure":"2021-12-16 10:58:00","name":"Vuiteboeuf","stopid":"8504294","x":532453,"y":184004,"lon":6.553742,"lat":46.803767},{"arrival":"2021-12-16 11:02:00","departure":"2021-12-16 11:02:00","name":"Baulmes","stopid":"8504295","x":530185,"y":182361,"lon":6.524284,"lat":46.788755},{"arrival":"2021-12-16 11:06:00","departure":"2021-12-16 11:06:00","name":"Six-Fontaines","stopid":"8504296","x":528218,"y":180770,"lon":6.498774,"lat":46.774235}],"runningtime":2100,"exit":{"arrival":"2021-12-16 11:21:00","stopid":"8504298","x":528426,"y":185794,"name":"Ste-Croix","sbb_name":"Ste-Croix","lon":6.500711,"lat":46.819447},"track":"B4","type_name":"Train","lon":6.640943,"lat":46.78155},{"arrival":"2021-12-16 11:21:00","stopid":"8504298","x":528426,"y":185794,"name":"Ste-Croix","sbb_name":"Ste-Croix","normal_time":0,"stops":null,"lon":6.500711,"lat":46.819447}]},{"from":"Cronay, Le Crêt","departure":"2021-12-16 10:56:00","to":"Ste-Croix","arrival":"2021-12-16 11:51:00","duration":3300,"is_main":true,"legs":[{"departure":"2021-12-16 10:56:00","tripid":"T2022_066016_000801_001_179a8a7_0","stopid":"8583211","x":542925,"y":178553,"name":"Cronay, Le Crêt","sbb_name":"Cronay, Le Crêt","type":"post","line":"660","terminal":"Yverdon-les-Bains, gare","fgcolor":"000","bgcolor":"ffd700","*G":"B","*L":"660","*Z":"066016","operator":"PAG","stops":[{"arrival":"2021-12-16 11:00:00","departure":"2021-12-16 11:00:00","name":"Pomy, collège","stopid":"8570308","x":541348,"y":178908,"lon":6.670916,"lat":46.758771},{"arrival":"2021-12-16 11:01:00","departure":"2021-12-16 11:01:00","name":"Pomy, village","stopid":"8507953","x":541157,"y":179083,"lon":6.668393,"lat":46.760329},{"arrival":"2021-12-16 11:03:00","departure":"2021-12-16 11:03:00","name":"Pomy, Centre Orif","stopid":"8570302","x":540200,"y":179547,"lon":6.655807,"lat":46.764417},{"arrival":"2021-12-16 11:04:00","departure":"2021-12-16 11:04:00","name":"Yverdon-les-Bains, Condémines","stopid":"8507659","x":539981,"y":180090,"lon":6.652869,"lat":46.769282},{"arrival":"2021-12-16 11:05:00","departure":"2021-12-16 11:05:00","name":"Yverdon-les-Bains, Les Bains","stopid":"8570289","x":539732,"y":180430,"lon":6.649564,"lat":46.772317},{"arrival":"2021-12-16 11:07:00","departure":"2021-12-16 11:07:00","name":"Yverdon, 4 Marronniers","stopid":"8570288","x":539634,"y":180795,"lon":6.648233,"lat":46.775592}],"runningtime":900,"exit":{"arrival":"2021-12-16 11:11:00","stopid":"8504774","x":539030,"y":181424,"name":"Yverdon-les-Bains, gare","sbb_name":"Yverdon-les-Bains, gare","waittime":0,"track":"Z","lon":6.640241,"lat":46.781195},"type_name":"Car postal","lon":6.691601,"lat":46.755715},{"arrival":"2021-12-16 11:11:00","departure":"2021-12-16 11:11:00","stopid":"8504774","x":539030,"y":181424,"name":"Yverdon-les-Bains, gare","sbb_name":"Yverdon-les-Bains, gare","waittime":0,"normal_time":180,"stops":null,"runningtime":180,"exit":{"arrival":"2021-12-16 11:14:00","stopid":"8504200","x":539084,"y":181463,"name":"Yverdon-les-Bains","sbb_name":"Yverdon-les-Bains","waittime":120,"lon":6.640943,"lat":46.78155},"type":"walk","type_name":"Trajet à pied","lon":6.640241,"lat":46.781195},{"arrival":"2021-12-16 11:14:00","departure":"2021-12-16 11:16:00","tripid":"T2022_000031_000097_001_a05585c_0","stopid":"8504200","x":539084,"y":181463,"name":"Yverdon-les-Bains","sbb_name":"Yverdon-les-Bains","type":"train","line":"R","terminal":"Ste-Croix","waittime":120,"fgcolor":"fff","bgcolor":"039","*G":"R","*Z":"000031","operator":"TRAVYS","stops":[{"arrival":"2021-12-16 11:17:00","departure":"2021-12-16 11:17:00","name":"Yverdon William Barbey","stopid":"8530263","x":538385,"y":182298,"lon":6.631678,"lat":46.788997},{"arrival":"2021-12-16 11:18:00","departure":"2021-12-16 11:18:00","name":"La Brinaz","stopid":"8504291","x":537516,"y":182914,"lon":6.620214,"lat":46.794457},{"arrival":"2021-12-16 11:20:00","departure":"2021-12-16 11:20:00","name":"Valeyres-sous-Montagny","stopid":"8504292","x":536841,"y":183185,"lon":6.611336,"lat":46.796831},{"arrival":"2021-12-16 11:23:00","departure":"2021-12-16 11:23:00","name":"Essert-sous-Champvent","stopid":"8504293","x":534459,"y":183048,"lon":6.580157,"lat":46.795368},{"arrival":"2021-12-16 11:28:00","departure":"2021-12-16 11:28:00","name":"Vuiteboeuf","stopid":"8504294","x":532453,"y":184004,"lon":6.553742,"lat":46.803767},{"arrival":"2021-12-16 11:32:00","departure":"2021-12-16 11:32:00","name":"Baulmes","stopid":"8504295","x":530185,"y":182361,"lon":6.524284,"lat":46.788755},{"arrival":"2021-12-16 11:36:00","departure":"2021-12-16 11:36:00","name":"Six-Fontaines","stopid":"8504296","x":528218,"y":180770,"lon":6.498774,"lat":46.774235}],"runningtime":2100,"exit":{"arrival":"2021-12-16 11:51:00","stopid":"8504298","x":528426,"y":185794,"name":"Ste-Croix","sbb_name":"Ste-Croix","lon":6.500711,"lat":46.819447},"track":"B3","type_name":"Train","lon":6.640943,"lat":46.78155},{"arrival":"2021-12-16 11:51:00","stopid":"8504298","x":528426,"y":185794,"name":"Ste-Croix","sbb_name":"Ste-Croix","normal_time":0,"stops":null,"lon":6.500711,"lat":46.819447}]},{"from":"Cronay, Le Crêt","departure":"2021-12-16 12:28:00","to":"Ste-Croix","arrival":"2021-12-16 13:21:00","duration":3180,"is_main":true,"legs":[{"departure":"2021-12-16 12:28:00","tripid":"T2022_066020_000801_001_9cd731a_0","stopid":"8583211","x":542925,"y":178553,"name":"Cronay, Le Crêt","sbb_name":"Cronay, Le Crêt","type":"post","line":"660","terminal":"Yverdon-les-Bains, gare","fgcolor":"000","bgcolor":"ffd700","*G":"B","*L":"660","*Z":"066020","operator":"PAG","stops":[{"arrival":"2021-12-16 12:32:00","departure":"2021-12-16 12:32:00","name":"Pomy, collège","stopid":"8570308","x":541348,"y":178908,"lon":6.670916,"lat":46.758771},{"arrival":"2021-12-16 12:33:00","departure":"2021-12-16 12:33:00","name":"Pomy, village","stopid":"8507953","x":541157,"y":179083,"lon":6.668393,"lat":46.760329},{"arrival":"2021-12-16 12:35:00","departure":"2021-12-16 12:35:00","name":"Pomy, Centre Orif","stopid":"8570302","x":540200,"y":179547,"lon":6.655807,"lat":46.764417},{"arrival":"2021-12-16 12:36:00","departure":"2021-12-16 12:36:00","name":"Yverdon-les-Bains, Condémines","stopid":"8507659","x":539981,"y":180090,"lon":6.652869,"lat":46.769282},{"arrival":"2021-12-16 12:37:00","departure":"2021-12-16 12:37:00","name":"Yverdon-les-Bains, Les Bains","stopid":"8570289","x":539732,"y":180430,"lon":6.649564,"lat":46.772317},{"arrival":"2021-12-16 12:39:00","departure":"2021-12-16 12:39:00","name":"Yverdon, 4 Marronniers","stopid":"8570288","x":539634,"y":180795,"lon":6.648233,"lat":46.775592}],"runningtime":900,"exit":{"arrival":"2021-12-16 12:43:00","stopid":"8504774","x":539030,"y":181424,"name":"Yverdon-les-Bains, gare","sbb_name":"Yverdon-les-Bains, gare","waittime":0,"track":"Z","lon":6.640241,"lat":46.781195},"type_name":"Car postal","lon":6.691601,"lat":46.755715},{"arrival":"2021-12-16 12:43:00","departure":"2021-12-16 12:43:00","stopid":"8504774","x":539030,"y":181424,"name":"Yverdon-les-Bains, gare","sbb_name":"Yverdon-les-Bains, gare","waittime":0,"normal_time":180,"stops":null,"runningtime":180,"exit":{"arrival":"2021-12-16 12:46:00","stopid":"8504200","x":539084,"y":181463,"name":"Yverdon-les-Bains","sbb_name":"Yverdon-les-Bains","waittime":0,"lon":6.640943,"lat":46.78155},"type":"walk","type_name":"Trajet à pied","lon":6.640241,"lat":46.781195},{"arrival":"2021-12-16 12:46:00","departure":"2021-12-16 12:46:00","tripid":"T2022_000037_000097_001_7338a47_0","stopid":"8504200","x":539084,"y":181463,"name":"Yverdon-les-Bains","sbb_name":"Yverdon-les-Bains","type":"train","line":"R","terminal":"Ste-Croix","waittime":0,"fgcolor":"fff","bgcolor":"039","*G":"R","*Z":"000037","operator":"TRAVYS","stops":[{"arrival":"2021-12-16 12:47:00","departure":"2021-12-16 12:47:00","name":"Yverdon William Barbey","stopid":"8530263","x":538385,"y":182298,"lon":6.631678,"lat":46.788997},{"arrival":"2021-12-16 12:48:00","departure":"2021-12-16 12:48:00","name":"La Brinaz","stopid":"8504291","x":537516,"y":182914,"lon":6.620214,"lat":46.794457},{"arrival":"2021-12-16 12:50:00","departure":"2021-12-16 12:50:00","name":"Valeyres-sous-Montagny","stopid":"8504292","x":536841,"y":183185,"lon":6.611336,"lat":46.796831},{"arrival":"2021-12-16 12:53:00","departure":"2021-12-16 12:53:00","name":"Essert-sous-Champvent","stopid":"8504293","x":534459,"y":183048,"lon":6.580157,"lat":46.795368},{"arrival":"2021-12-16 12:58:00","departure":"2021-12-16 12:58:00","name":"Vuiteboeuf","stopid":"8504294","x":532453,"y":184004,"lon":6.553742,"lat":46.803767},{"arrival":"2021-12-16 13:02:00","departure":"2021-12-16 13:02:00","name":"Baulmes","stopid":"8504295","x":530185,"y":182361,"lon":6.524284,"lat":46.788755},{"arrival":"2021-12-16 13:06:00","departure":"2021-12-16 13:06:00","name":"Six-Fontaines","stopid":"8504296","x":528218,"y":180770,"lon":6.498774,"lat":46.774235}],"runningtime":2100,"exit":{"arrival":"2021-12-16 13:21:00","stopid":"8504298","x":528426,"y":185794,"name":"Ste-Croix","sbb_name":"Ste-Croix","lon":6.500711,"lat":46.819447},"track":"B3","type_name":"Train","lon":6.640943,"lat":46.78155},{"arrival":"2021-12-16 13:21:00","stopid":"8504298","x":528426,"y":185794,"name":"Ste-Croix","sbb_name":"Ste-Croix","normal_time":0,"stops":null,"lon":6.500711,"lat":46.819447}]},{"from":"Cronay, Le Crêt","departure":"2021-12-16 12:56:00","to":"Ste-Croix","arrival":"2021-12-16 13:51:00","duration":3300,"is_main":true,"legs":[{"departure":"2021-12-16 12:56:00","tripid":"T2022_066106_000801_001_cb53d8d_0","stopid":"8583211","x":542925,"y":178553,"name":"Cronay, Le Crêt","sbb_name":"Cronay, Le Crêt","type":"post","line":"661","terminal":"Yverdon-les-Bains, gare","fgcolor":"000","bgcolor":"ffd700","*G":"B","*L":"661","*Z":"066106","operator":"PAG","stops":[{"arrival":"2021-12-16 13:00:00","departure":"2021-12-16 13:00:00","name":"Pomy, collège","stopid":"8570308","x":541348,"y":178908,"lon":6.670916,"lat":46.758771},{"arrival":"2021-12-16 13:01:00","departure":"2021-12-16 13:01:00","name":"Pomy, village","stopid":"8507953","x":541157,"y":179083,"lon":6.668393,"lat":46.760329},{"arrival":"2021-12-16 13:01:00","departure":"2021-12-16 13:01:00","name":"Pomy, Centre Orif","stopid":"8570302","x":540200,"y":179547,"lon":6.655807,"lat":46.764417},{"arrival":"2021-12-16 13:06:00","departure":"2021-12-16 13:06:00","name":"Yverdon-les-Bains, Condémines","stopid":"8507659","x":539981,"y":180090,"lon":6.652869,"lat":46.769282},{"arrival":"2021-12-16 13:07:00","departure":"2021-12-16 13:07:00","name":"Yverdon-les-Bains, Les Bains","stopid":"8570289","x":539732,"y":180430,"lon":6.649564,"lat":46.772317},{"arrival":"2021-12-16 13:08:00","departure":"2021-12-16 13:08:00","name":"Yverdon, 4 Marronniers","stopid":"8570288","x":539634,"y":180795,"lon":6.648233,"lat":46.775592}],"runningtime":900,"exit":{"arrival":"2021-12-16 13:11:00","stopid":"8504774","x":539030,"y":181424,"name":"Yverdon-les-Bains, gare","sbb_name":"Yverdon-les-Bains, gare","waittime":0,"track":"Z","lon":6.640241,"lat":46.781195},"type_name":"Car postal","lon":6.691601,"lat":46.755715},{"arrival":"2021-12-16 13:11:00","departure":"2021-12-16 13:11:00","stopid":"8504774","x":539030,"y":181424,"name":"Yverdon-les-Bains, gare","sbb_name":"Yverdon-les-Bains, gare","waittime":0,"normal_time":180,"stops":null,"runningtime":180,"exit":{"arrival":"2021-12-16 13:14:00","stopid":"8504200","x":539084,"y":181463,"name":"Yverdon-les-Bains","sbb_name":"Yverdon-les-Bains","waittime":120,"lon":6.640943,"lat":46.78155},"type":"walk","type_name":"Trajet à pied","lon":6.640241,"lat":46.781195},{"arrival":"2021-12-16 13:14:00","departure":"2021-12-16 13:16:00","tripid":"T2022_000039_000097_001_d5be2e1_0","stopid":"8504200","x":539084,"y":181463,"name":"Yverdon-les-Bains","sbb_name":"Yverdon-les-Bains","type":"train","line":"R","terminal":"Ste-Croix","waittime":120,"fgcolor":"fff","bgcolor":"039","*G":"R","*Z":"000039","operator":"TRAVYS","stops":[{"arrival":"2021-12-16 13:17:00","departure":"2021-12-16 13:17:00","name":"Yverdon William Barbey","stopid":"8530263","x":538385,"y":182298,"lon":6.631678,"lat":46.788997},{"arrival":"2021-12-16 13:18:00","departure":"2021-12-16 13:18:00","name":"La Brinaz","stopid":"8504291","x":537516,"y":182914,"lon":6.620214,"lat":46.794457},{"arrival":"2021-12-16 13:20:00","departure":"2021-12-16 13:20:00","name":"Valeyres-sous-Montagny","stopid":"8504292","x":536841,"y":183185,"lon":6.611336,"lat":46.796831},{"arrival":"2021-12-16 13:23:00","departure":"2021-12-16 13:23:00","name":"Essert-sous-Champvent","stopid":"8504293","x":534459,"y":183048,"lon":6.580157,"lat":46.795368},{"arrival":"2021-12-16 13:28:00","departure":"2021-12-16 13:28:00","name":"Vuiteboeuf","stopid":"8504294","x":532453,"y":184004,"lon":6.553742,"lat":46.803767},{"arrival":"2021-12-16 13:32:00","departure":"2021-12-16 13:32:00","name":"Baulmes","stopid":"8504295","x":530185,"y":182361,"lon":6.524284,"lat":46.788755},{"arrival":"2021-12-16 13:36:00","departure":"2021-12-16 13:36:00","name":"Six-Fontaines","stopid":"8504296","x":528218,"y":180770,"lon":6.498774,"lat":46.774235}],"runningtime":2100,"exit":{"arrival":"2021-12-16 13:51:00","stopid":"8504298","x":528426,"y":185794,"name":"Ste-Croix","sbb_name":"Ste-Croix","lon":6.500711,"lat":46.819447},"track":"B3","type_name":"Train","lon":6.640943,"lat":46.78155},{"arrival":"2021-12-16 13:51:00","stopid":"8504298","x":528426,"y":185794,"name":"Ste-Croix","sbb_name":"Ste-Croix","normal_time":0,"stops":null,"lon":6.500711,"lat":46.819447}]},{"from":"Cronay, Le Crêt","departure":"2021-12-16 13:56:00","to":"Ste-Croix","arrival":"2021-12-16 15:21:00","duration":5100,"is_main":true,"legs":[{"departure":"2021-12-16 13:56:00","tripid":"T2022_066022_000801_001_3b84440_0","stopid":"8583211","x":542925,"y":178553,"name":"Cronay, Le Crêt","sbb_name":"Cronay, Le Crêt","type":"post","line":"660","terminal":"Yverdon-les-Bains, gare","fgcolor":"000","bgcolor":"ffd700","*G":"B","*L":"660","*Z":"066022","operator":"PAG","stops":[{"arrival":"2021-12-16 14:00:00","departure":"2021-12-16 14:00:00","name":"Pomy, collège","stopid":"8570308","x":541348,"y":178908,"lon":6.670916,"lat":46.758771},{"arrival":"2021-12-16 14:01:00","departure":"2021-12-16 14:01:00","name":"Pomy, village","stopid":"8507953","x":541157,"y":179083,"lon":6.668393,"lat":46.760329},{"arrival":"2021-12-16 14:03:00","departure":"2021-12-16 14:03:00","name":"Pomy, Centre Orif","stopid":"8570302","x":540200,"y":179547,"lon":6.655807,"lat":46.764417},{"arrival":"2021-12-16 14:04:00","departure":"2021-12-16 14:04:00","name":"Yverdon-les-Bains, Condémines","stopid":"8507659","x":539981,"y":180090,"lon":6.652869,"lat":46.769282},{"arrival":"2021-12-16 14:05:00","departure":"2021-12-16 14:05:00","name":"Yverdon-les-Bains, Les Bains","stopid":"8570289","x":539732,"y":180430,"lon":6.649564,"lat":46.772317},{"arrival":"2021-12-16 14:07:00","departure":"2021-12-16 14:07:00","name":"Yverdon, 4 Marronniers","stopid":"8570288","x":539634,"y":180795,"lon":6.648233,"lat":46.775592}],"runningtime":900,"exit":{"arrival":"2021-12-16 14:11:00","stopid":"8504774","x":539030,"y":181424,"name":"Yverdon-les-Bains, gare","sbb_name":"Yverdon-les-Bains, gare","waittime":0,"track":"Z","lon":6.640241,"lat":46.781195},"type_name":"Car postal","lon":6.691601,"lat":46.755715},{"arrival":"2021-12-16 14:11:00","departure":"2021-12-16 14:11:00","stopid":"8504774","x":539030,"y":181424,"name":"Yverdon-les-Bains, gare","sbb_name":"Yverdon-les-Bains, gare","waittime":0,"normal_time":180,"stops":null,"runningtime":180,"exit":{"arrival":"2021-12-16 14:14:00","stopid":"8504200","x":539084,"y":181463,"name":"Yverdon-les-Bains","sbb_name":"Yverdon-les-Bains","waittime":1920,"lon":6.640943,"lat":46.78155},"type":"walk","type_name":"Trajet à pied","lon":6.640241,"lat":46.781195},{"arrival":"2021-12-16 14:14:00","departure":"2021-12-16 14:46:00","tripid":"T2022_000045_000097_001_5623f80_0","stopid":"8504200","x":539084,"y":181463,"name":"Yverdon-les-Bains","sbb_name":"Yverdon-les-Bains","type":"train","line":"R","terminal":"Ste-Croix","waittime":1920,"fgcolor":"fff","bgcolor":"039","*G":"R","*Z":"000045","operator":"TRAVYS","stops":[{"arrival":"2021-12-16 14:47:00","departure":"2021-12-16 14:47:00","name":"Yverdon William Barbey","stopid":"8530263","x":538385,"y":182298,"lon":6.631678,"lat":46.788997},{"arrival":"2021-12-16 14:48:00","departure":"2021-12-16 14:48:00","name":"La Brinaz","stopid":"8504291","x":537516,"y":182914,"lon":6.620214,"lat":46.794457},{"arrival":"2021-12-16 14:50:00","departure":"2021-12-16 14:50:00","name":"Valeyres-sous-Montagny","stopid":"8504292","x":536841,"y":183185,"lon":6.611336,"lat":46.796831},{"arrival":"2021-12-16 14:53:00","departure":"2021-12-16 14:53:00","name":"Essert-sous-Champvent","stopid":"8504293","x":534459,"y":183048,"lon":6.580157,"lat":46.795368},{"arrival":"2021-12-16 14:58:00","departure":"2021-12-16 14:58:00","name":"Vuiteboeuf","stopid":"8504294","x":532453,"y":184004,"lon":6.553742,"lat":46.803767},{"arrival":"2021-12-16 15:02:00","departure":"2021-12-16 15:02:00","name":"Baulmes","stopid":"8504295","x":530185,"y":182361,"lon":6.524284,"lat":46.788755},{"arrival":"2021-12-16 15:06:00","departure":"2021-12-16 15:06:00","name":"Six-Fontaines","stopid":"8504296","x":528218,"y":180770,"lon":6.498774,"lat":46.774235}],"runningtime":2100,"exit":{"arrival":"2021-12-16 15:21:00","stopid":"8504298","x":528426,"y":185794,"name":"Ste-Croix","sbb_name":"Ste-Croix","lon":6.500711,"lat":46.819447},"track":"B3","type_name":"Train","lon":6.640943,"lat":46.78155},{"arrival":"2021-12-16 15:21:00","stopid":"8504298","x":528426,"y":185794,"name":"Ste-Croix","sbb_name":"Ste-Croix","normal_time":0,"stops":null,"lon":6.500711,"lat":46.819447}]}],"url":"https://horaire.search.ch/Cronay,Le-Cr%C3%AAt..Ste-Croix","points":[{"text":"Cronay, Le Crêt","url":"https://map.search.ch/Cronay,Le-Cr%C3%AAt","id":"8583211","x":"542925","y":"178553","lon":6.691601,"lat":46.755715},{"text":"Ste-Croix","url":"https://map.search.ch/Ste-Croix","id":"8504298","x":"528426","y":"185794","lon":6.500711,"lat":46.819447}],"description":"À partir de Cronay, Le Crêt vers Ste-Croix le Jeudi 16.12.2021","request":null,"eof":1}';