Convert public GPS data for the Iași city to industry-standard GTFS-Realtime protocol buffer
- Clone and change directory
git clone https://github.com/FlashWebIT/Iasi-GTFS-Realtime-Vehicle-Positions.git
cd Iasi-GTFS-Realtime-Vehicle-Positions
- Install deps
npm install
- Run
node .
- Test
node tester.js
- Daemonize? Use forever, nodemon or screen to run in background.
Protocol buffer GTFS Realtime feed is accessible at http://localhost:3000/positions
You can plug your favourite transit app to that - OpenTripPlanner, etc.
- Calculate speed between requests to complete missing field