bvg-shuttle-gtfs-rt-feed
Transform the live positions of the BVG autonomous shuttle into a GTFS-Realtime vehicle positions feed.
Installing
npm install bvg-shuttle-gtfs-rt-feed
Usage
const fs = const csvParser = const toGtfsRt = const convert = fs
convert
ist a transform stream that emits Protobuffer GTFS-Realtime VehiclePosition
updates.
Download the data from https://hackathon.innoz.de/data and extract it. In the future, this library will fetch liva data from a server.
cat vehicle_statescsv | node examplejs >positionspbf
Contributing
If you have a question or have difficulties using bvg-shuttle-gtfs-rt-feed
, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.