proto2js/doc/gtfs-rt.md

467 B

gtfs-rt

  • further description for gtfs-rt is available on the gtfs.org website

  • clone repository

cd /tmp
git clone git@github.com:google/transit.git
  • copy proto file into this repository
cd /tmp/transit/gtfs-realtime/proto
cp gtfs-realtime.proto ~/<path>/proto2js/proto/gtfs-rt.proto
  • compile proto file into js file
pbf ./proto/gtfs-rt.proto > ./js/gtfs-rt.js