/vbb-gtfs.jannisr.de

Mirror of Berlin & Brandenburg GTFS data with permanent URLs.

Primary LanguageShell

VBB public transport data

This repo is an archive of VBB (Berlin/Brandenburg transit authority)'s GTFS feed. It contains both historical versions, as well as the latest version.

HTTP mirror

You can download the feeds from vbb-gtfs.jannisr.de, which is an HTTP mirror of this Git repository.

Using it has several benefits over the official zipped GTFS feed:

  • My mirror contains individual files, in case you're only interested in some aspects of the feed.
  • It has CORS enabled, so you can process the data directly using browser-based tools. (Please don't cause excessive traffic. Get in touch with me if you have questions.)
  • It can deliver the files gzipped, saving traffic, time & energy.

For example, to download the latest version of the feed into a directory gtfs, use wget with this command:

wget -r --no-parent --no-directories -P gtfs -N \
	--compression auto -R .csv.gz \
	'https://vbb-gtfs.jannisr.de/latest/'

Git LFS

Git LFS is an extension for Git that allows storing "the content" large files outside of the Git repository, while keeping the files and their revisions within Git's file index.

The GTFS files in this repo are stored via Git LFS, so in order to obtain them, you need to install Git LFS before pulling.