Skip to content

Repository files navigation

tup

How to build

Requirements

Building

cmake . -G Ninja -B build
ninja -C build

Running

Requirements:

  • 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 input

Then it can be run as follows:

./build/tup-backend -i input -v "https://gtfs.tpbi.ro/api/gtfs-rt/vehiclePositions"

Tests

To run the tests, first build it as usual and enter the build directory and run the following:

ctest

Testing all feeds

TPBI

./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"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages