From 729413a7b10f1b27a810a4928b1ee165a9961d9e Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Fri, 13 Nov 2020 14:07:40 +0000 Subject: [PATCH] VehicleTypes: convert vehicle id to integer before looking it up --- config.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.php b/config.php index 3b1ce68..1d2b269 100644 --- a/config.php +++ b/config.php @@ -1,7 +1,7 @@ <?php $sources = [ 'bus' => [ - 'gtfsrt' => 'ftp://zdmk.krakow.pl/VehiclePositions_A.pb', + 'gtfsrt' => 'ftp://ztp.krakow.pl/pliki-gtfs/VehiclePositions_A.pb', 'gtfsrt_file' => 'VehiclePositions_A.pb', 'ttss' => 'http://ttss.mpk.krakow.pl/internetservice/geoserviceDispatcher/services/vehicleinfo/vehicles', 'ttss_file' => 'vehicles_A.json', @@ -12,7 +12,7 @@ 'prefix' => 'b', ], 'tram' => [ - 'gtfsrt' => 'http://gtfs.ztp.krakow.pl/VehiclePositions_T.pb', + 'gtfsrt' => 'ftp://ztp.krakow.pl/pliki-gtfs/VehiclePositions_T.pb', 'gtfsrt_file' => 'VehiclePositions_T.pb', 'ttss' => 'http://www.ttss.krakow.pl/internetservice/geoserviceDispatcher/services/vehicleinfo/vehicles?positionType=CORRECTED', 'ttss_file' => 'vehicles_T.json', -- Gitblit v1.9.1