Home · Maps · About

Home > SubChat
 

[ Read Responses | Post a New Response | Return to the Index ]
[ First in Thread ]

 

view flat

Re: Canarsie Tunnel Single Track Operation

Posted by Stephen Bauman on Sun Jan 20 23:39:05 2019, in response to Re: Canarsie Tunnel Single Track Operation, posted by Abba on Sun Jan 20 22:33:52 2019.

The raw data is freely available from the MTA. Go to the MTA website and click on the Developer Resources link down on the left hand column. A license from the MTA is required to access the real time data. Archived data real time data can be retrieved without a license from the data feed page for division B. Alas, the L train is not included in that archive. There is a private archive that you can find, if you look through the MTA Developers Google Group forum. That's the one I used for my after the fact L train analysis.

The real time data uses the GTFS-RT format. The data is highly compressed. It requires a fairly strong programming background to retrieve the underlying data in a usable form. The protobuf program will take the feed and translate it to a pseudo XML file. I wrote a program that corrects the XML syntax from the protobuf output. My program then translates the XML files to a series of csv files and then imports these csv files into a postgresql database.

If you feel you are up to the challenge, I'd be happy to upload the protobuf output files for my L train single track analysis. That way you can verify that I did not fudge any of the data.

(There are no responses to this message.)

Post a New Response

Your Handle:

Your Password:

E-Mail Address:

Subject:

Message:



Before posting.. think twice!


[ Return to the Message Index ]