noisecapella / bostonbusmap

An app which uses the MBTA's data feed to display public transit predictions and vehicle locations
Other
17 stars 4 forks source link

BostonBusMap

This app shows locations and predicts bus times in Boston and nearby cities, using GPS info from the MBTA. Please email bostonbusmap@gmail.com if you have any problem, and please report a crash if you see one! Twitter feed for bug updates: @bostonbusmap

Basic usage

Development History

The app started off with a few outdated decisions:

Build

You'll need to git clone git@github.com:bostonbusmap/android-mapviewballoons.git. This project references that code to draw the mapview balloons.

You'll also need to download the MBTA's GTFS data, and unzip it into tools/gtfs.

Then, cd into the tools directory, then run autogenerate.sh to create and populate the database file, which gets copied to res/raw/databasegz. routeconfig.xml and routeLists come from data collected from nextbus.com for a particular transit agency. For the MBTA, see their developer website for how to get their subway and commuter rail info.

Otherwise this is a standard Android project. You might need to change the paths a little bit but you shouldn't need to install anything unexpected. Note that you may need a separate Google Maps API key to test with

Branches

There are a few important git branches corresponding to different apps for different cities: