I use the Maryland MTA.  I used to have a Palm Pilot.  When I did, I liked using trainsched.  In order to use trainsched, I had to write some scripts to generate the appropriate palm databases.  I’m no longer maintaining these, but they’re available in case they’re useful to anyone else.

I draw my data from the MTA’s GTFS feed.  Other GTFS feeds (see the GTFS data exchange for a nice list) should work, too.

Note that the trainsched CSV format has changed over time.  These scripts target trainsched version 1.0, the latest version as of this writing.

ยง Scripts

The scripts I use to turn the MTA’s GTFS data into palm databases are available for your use, since I don’t want to go through the work of converting all of their schedules.  These are public domain.  Have fun.  Feel free to let me know if you make changes to them to fix or add stuff.

You will at least need Python 2(!) and the transitfeed module in order for this to work.

  • gtfs2csv.py - generates a trainsched CSV file from a GTFS feed.
  • README - directions on how to use the script.
  • COPYING - license terms.