Google Transport Tracker is a set of applications designed to track a range of moving assets (such as vehicles) and visualize them on a live map. The applications use a mixture of technologies - Android, Firebase, Google Maps, GTFS (General Transit Feed Specification), and more.
Note: This application implements asset tracking. For use in a production environment, you therefore need a Google Maps APIs Premium Plan license. For more information, see the Google Maps APIs terms of service.
This is the open source release for the I/O Bus Tracker.
The repository consists of a number of components, representing the individual
moving parts of the bus tracking system. It includes an Android app,
in /android
, that's installed on Android devices and deployed on the tracked
vehicles, along with a matching administration UI in /admin
.
The repo also contains the display side of the system, designed to drive 60"
LCD TVs. There is /display-server
, written in Go and running on App Engine,
which receives the locations reported by the Android app, along with a time
table provided in GTFS format, and makes regular updates to a Firebase Real Time
Database. The client in /display-client
receives the updates from the
Firebase database and draws them on the LCD TV.
Please refer to the README file for each component, for information about API keys and other setup guides.
The project contains the following subdirectories, each housing a single component:
A web interface for administrators to see a quick overview of all the assets being tracked.
The Android app that resides with each asset to be tracked. Once configured, this app keeps its location synced with Firebase, and reports on other metrics, such as battery life.
The public web interface that displays schedule information and asset locations.
The server-side component that manages the state of the Firebase database.
This is not an official Google product.