- A recent C++ compiler: Either Clang 18 or GCC 13
- CMake 3.17 (or newer): cmake.org (Ubuntu APT Repository)
- Ninja: ninja-build.org
- Git
cmake . -G Ninja -B build
ninja -C build- wget
- unzip
The tool needs a GTFS feed
wget -O BUCHAREST-REGION.zip https://gtfs.tpbi.ro/regional/BUCHAREST-REGION.zip
unzip BUCHAREST-REGION.zip -d inputThen it can be run as follows:
./build/tup-backend -i input -v "https://gtfs.tpbi.ro/api/gtfs-rt/vehiclePositions"To run the tests, first build it as usual and enter the build directory and run the following:
ctestTPBI
./build/tup-backend -P schedule-based -i tpbi -v "https://gtfs.tpbi.ro/api/gtfs-rt/vehiclePositions"Arriva
./build/tup-backend -P schedule-based -i arriva -v "https://gtfs.ovapi.nl/nl/vehiclePositions.pb"Translink
./build/tup-backend -P schedule-based -i Translink -v "https://gtfsrt.api.translink.com.au/api/realtime/SEQ/VehiclePositions"Vy Express
./build/tup-backend -P schedule-based -i VyExpress -v "https://api.entur.io/realtime/v1/gtfs-rt/vehicle-positions?datasource=VYX"Commbus
./build/tup-backend -P schedule-based -i Commbus -v "https://citycommbus.com/gtfs-rt/vehiclepositions"ZDiTM
./build/tup-backend -P schedule-based -i ZDiTM -v "https://www.zditm.szczecin.pl/storage/gtfs/gtfs-rt-vehicles.pb"Mountain Line Transit
./build/tup-backend -P schedule-based -i MountainLineTransit -v "https://mountainline.syncromatics.com/gtfs-rt/vehiclepositions"City of Madison
./build/tup-backend -P schedule-based -i CityOfMadison -v "https://metromap.cityofmadison.com/gtfsrt/vehicles"