GTFS Protocol and Parsing GTFS data - DonauTech podcast
HTML-код
- Опубликовано: 4 окт 2024
- donau.tech/
GTFS(General Transit Feed Specification) is data specification that allows companies to share data about public vehicle, transits, stop for a large variaty of software.
Typically, gtfs comes as a zip file conaining, it should be served from somecompany/gtfs/gtfs.zip
Jupyter Notebook: github.com/don...
How to parse
1. Excel, import csv files
2. addtransit.com
3. Pandas
More links about topic:
gtfs.org - official website
gtfs.org/refer... - reference for specification
addtransit.com/ - good and free visualisation website
transitfeeds.c... - flixbus gtfs
api.idbus.com/... - OuiBus gtfs
github.com/fre... - DeutscheBahn gtfs - Наука
Fascinating stuff.
Thank you! Next video is arriving today :)
Thanks for the video, I am actually interested in building android app that shows travel plans in my country though the buses have schedules but no gtfs data available n no existing app for these buses. What advise can you give on this. I've created a google map showing all stops with their longs and lats but the problem is knowing the actual plans for all schedules
Thank you for comment as well!
If they really have a schedule you can ask them to give it to you, even if it's in some paper format. You can then convert it into gtfs via some of the suggested apps and show schedule on phone.
As long as there's some real schedule present you can convert it into gtfs. If you want to have real-time support you'll need to cooperate with public transport company(some machine should be installed in buses to track ride status and send it to some server).
Thanks for the info I will send them a message if they will release the schedule plan.
Thanks for the video. I would like to download GTFS data (from September 2019) for long-distance buses (Fernbus) across Europe. I am able to find only data for Flixbus and Eurolines. Any leads on how I can retrieve data for other providers?
Hi Can you please help me in calculating Display Average Arrival Headway (headway between last two vehicles plus avg headway of last five vehicles)
hello,
Thank you for this great video bro,
just one question please, I have GTFS files, but I don't know what I need now for I can create my application android.
I need to develop a apps and migrate these GTFS files or what exactly?
thank you for your help
best regards
Good evening Zeriouhi!
For android/java you can try to use gtfs-realtime-bindings. See more developers.google.com/transit/gtfs-realtime/examples/java-sample
Another way would be to use backend in any python to parse this zip file into database and request required data by android application.
Keep an eye that GTFS files can be updated so it'll be good to use website links to zip files with them
let me know if I can help you with sometihing else :)
best regards
Hallo, ich habe bereits alle nötigen GTFS Daten in txt Form, aber wo und wie binde ich diese denn ein? Ich benötige die Daten der SWU, um für ein Hochschulprojekt die Abfahrtszeiten von Bus und Bahn anzeigen zu lassen. Leider finde ich nichts passendes im Internet.
Mfg
www.swu.de/privatkunden/service/mobilitaet/gtfs-daten/