Jacek Kowalski
2019-06-17 f557e602c214402212890d4d0cedff2c849c59b9
Add tram numbers mapping
1 files modified
9 ■■■■■ changed files
parse.php 9 ●●●●● patch | view | raw | blame | history
parse.php
@@ -15,6 +15,15 @@
        'result' => 'mapping_A.json',
        'mapper' => 'numToTypeB',
    ],
    'tram' => [
        'gtfsrt' => 'ftp://ztp.krakow.pl/VehiclePositions.pb',
        'gtfsrt_file' => 'VehiclePositions_T.pb',
        'ttss' => 'http://www.ttss.krakow.pl/internetservice/geoserviceDispatcher/services/vehicleinfo/vehicles',
        'ttss_file' => 'vehicles_T.json',
        'database' => 'mapping_T.sqlite3',
        'result' => 'mapping_T.json',
        'mapper' => 'numToTypeT',
    ],
];
foreach($sources as $name => $source) {