Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project: parsing GTFS real-time feeds and visualising #9

Open
tslumley opened this issue Mar 28, 2017 · 3 comments
Open

Project: parsing GTFS real-time feeds and visualising #9

tslumley opened this issue Mar 28, 2017 · 3 comments

Comments

@tslumley
Copy link

I see from https://gtfsrt.api.translink.com.au/ that Queensland has real-time GTFS feeds for public transport.

I've been using the Auckland feed for simple visualisations (@tuureiti on Twitter, and https://www.stat.auckland.ac.nz/~tlum005/buses/) and for a more complex project on predicting arrival times at stops. However, the Auckland feed is in JSON, which is easy to parse. The Queensland feed uses the much more efficient protobuf format, so we'd need to make R bindings for, say, the C++ protobuf library.

@jonocarroll
Copy link

I think someone from last year was looking into doing this (Daniel Thomas/@Daniel-t?).

Anyway, here's someone's attempt from another hackathon: https://www.youtube.com/watch?v=W2XQOI9bzGY

@tslumley
Copy link
Author

Yes, there's a lot of examples like that hackathon one of 'where are the buses now'.
I'm more looking to be able to do data analysis, though.

@Daniel-t
Copy link

I did work this out eventually, for a govhack event that wasn't able to attend. Here's the vis that I pulled together using the data for a day (at 10 minute intervals. http://i.imgur.com/BLfzEAu.jpg

The biggest issue I have is that the translink feed isn't compatible the the current gtfs specification. I had to mess with things to decode it to Json /xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants