Skip to content

hansthompson/transit-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transit-Tracker

A full stack for public transit to transmit gps, calculate stop delays, and host the protocol buffer file to present that to google maps and other applications.

Wait, what is it?

A full open source implementation from placing gps hardware on the bus to calculating delays on the routes from the real time gps, to hosting the protocol buffer.

How to Deploy

  1. Buy the parts for tracking gps.

    • microcomputer (raspberry pi 3)
    • usb gps
    • mobile Internet connection.
    • touch screen interface - TBD
  2. Run the script for turning the gps into an API

     git clone https://www.github.com/hansthompson/transit-tracker
     chmod +x transit-tracker/server-scripts/setup.sh
      ./transit-tracker/server-scripts/setup.sh
    
  3. Build the protocol buffer server on Ubuntu by installing the dependencies

    • apt-get stuff
    • R stuff
    • GTFS of your agency
  4. Start the server

What are the components?

Hasn't this been done already?

Not open source! And not as a bundle for anyone to deploy in one project!

How to contribute

Please make an issue and I'll respond. We can decide to go with the master or a feature branch.

To Do:

  1. figure out how to run /server-scripts/setup.sh from bash for instant deployment
  2. set up a system for storing tidy_gps functions for each agency (perhaps a seperate repo).
  3. have the scripts run either on startup or through crontab.
  4. have the scripts write to the right shiny server app directory/s.
  5. Set up a script to benchmark the gps feed.

About

A full stack for producing a protocol buffer for real time public transit for google

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published