Transitland
An open data platform that collects GTFS, GTFS Realtime, and other open data feeds from transit providers around the world.
https://github.com/transitland/transitland-atlas
Category: Consumption
Sub Category: Mobility and Transportation
Keywords
gbfs gtfs gtfs-realtime gtfs-rt mds mobility open-data transit transitland transportation
Keywords from Contributors
public-transport transit-data bike-share carshare transit-map transit-agencies routing community bikesharing mobility-as-a-service
Last synced: about 19 hours ago
JSON representation
Repository metadata
an open directory of mobility feeds and operators — powers both Transitland v1 and v2
- Host: GitHub
- URL: https://github.com/transitland/transitland-atlas
- Owner: transitland
- License: other
- Created: 2019-11-15T21:28:51.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-18T21:58:56.000Z (8 days ago)
- Last Synced: 2025-04-19T16:13:20.056Z (8 days ago)
- Topics: gbfs, gtfs, gtfs-realtime, gtfs-rt, mds, mobility, open-data, transit, transitland, transportation
- Language: Python
- Homepage: https://www.transit.land/operators/
- Size: 31.5 MB
- Stars: 145
- Watchers: 10
- Forks: 184
- Open Issues: 17
- Releases: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
README.md
Transitland Atlas
An open catalog of transit/mobility data feeds and operators.
This catalog is used to power the canonical Transitland platform, is available for distributed used of the transitland-lib tooling, and is open to use as a "crosswalk" within other transportation data systems.
Table of contents:
Feeds
Public mobility/transit data feeds cataloged in the Distributed Mobility Feed Registry format.
Includes feeds in the following data specifications (specs):
- GTFS
- GTFS Realtime
- GBFS - automatically synchronized from https://github.com/MobilityData/gbfs/blob/master/systems.csv
- MDS - automatically synchronized from https://github.com/openmobilityfoundation/mobility-data-specification/blob/main/providers.csv
How to Add a New Feed
- Check if a
./feeds
file exists with the domain name for the feed URL. (ex.http://bart.gov
->bart.gov.dmfr.json
)- If a file exists, use that file, otherwise create a new empty DMFR file.
- To create a new file, you can use
example.com.dmfr.json
as a starting point, which contains the basic schema and an example feed. - Feeds exist as an array in the
feeds
property of a DMFR file.
- Propose a new Onestop ID for the feed (see below)
- Feed Onestop ID's begins with
f-
and continues with a unique string, like the transit operator's name - Use lowercase, alphanumeric unicode characters in the name component
- Use
~
instead of spaces or other punctuation
- Feed Onestop ID's begins with
- Add the appropriate URL to
static_current
- Add license and/or authorization metadata if you are aware of it.
- Open a PR. Feel free to add any questions as a comment on the PR if you are uncertain about your DMFR file.
- GitHub Actions (continuous integration service) will run a basic validation check on your PR and report any errors.
- A moderator will review and comment on your PR. If you don't get a response shortly, feel free to ping us at [email protected]
If you are using the Github web interface, you can click "Add a file -> Create a new file" in the ./feeds
directory, or when viewing an individual existing file, the pencil icon in the upper right of the contents display. Make sure to select "Create a new branch for this commit" and begin creating a pull request to propose changes.
For more information on what can go into a DMFR file, see the DMFR documentation.
Opinionated DMFR file format
The Atlas repository enforces an opinionated DMFR format that extends the standard DMFR JSON schema. This format enforces:
- Consistent JSON indentation
- Consistent key ordering
- A trailing line break at the end of the file (this is a change as of March 2025)
This opinionated format is not part of the DMFR specification itself, but rather an additional layer of formatting rules to ensure that DMFR files in the Atlas repository only change to reflect meaningful changes in the data, not inconsequential formatting differences. This reduces the amount of lines that are likely to change in PRs in this repository. The opinionated format is applied using the transitland dmfr format
command from the transitland-lib CLI tool and is checked by GitHub Actions on all PRs in this repo.
How to Update an Existing Feed
- Find the DMFR file containing the feed.
- Update the URLs and other properties for that feed
- For static feeds, use
static_current
for the present URL. - Add the previous URL value to the
static_historic
array.
- For static feeds, use
- Edit the file and open the PR as described above.
Onestop ID values for feeds and operators are used to synchronize with existing values in the Transitland database. Editing the Onestop ID value will cause a new feed or operator record to be created; values in the database that are no longer present in the Transitland Atlas will be marked as soft-deleted. Use caution and clear intent when changing a Onestop ID value.
Operators
Operators describe, annotate, and group data from different feed data sources. For example, o-9q9-actransit
describes a transit operator, Alameda-Contra Costa Transit District, which pulls from two different data sources (one GTFS-RT, one static GTFS) and adds additional metadata such as a US National Transit Database ID.
Operators can exist in the top-level operators
property if a DMFR file, or nested within a feed. An operator defined in the top-level operators
property requires an associated_feeds
value to connect the operator with data sources. When an operator is nested within a feed, there is an implicit association that all GTFS agencies contained in that file are associated with that operator, which helps reduces complexity and maintenance.
The key properties for an operator are:
onestop_id
: A Onestop ID value for this operator, starting witho-
name
: A formal name for the operator, such asBay Area Rapid Transit
short_name
: A simpler, colloqial name for an operator, such asBART
tags
: A set of key,value string pairs that provide additional metadata and referenceswebsite
: A URL to find more information about this operatorassociated_feeds
: An array of feed association objects; for each entry,feed_onestop_id
is required andgtfs_agency_id
is optional
Values for onestop_id
and name
are required; associated_feeds
(either explicit or through nesting the operator in a feed) are highly recommended.
Onestop IDs
Every feed and operator record in the Atlas repository is identified by a unique Onestop ID. Onestop IDs are meant to be globally unique (no duplicates in the world) and to be stable (no change over time).
To simplify the process of creating Onestop IDs, we now allow two different variants:
- a three-part Onestop ID includes an entity prefix, a geohash, and a name. For example:
f-9q9-bart
- a two-part Onestop ID includes just the entity prefix and a name. For example:
f-banning~pass~transit
The two-part Onestop ID is simpler to create if you are manually adding records to the Transitland Atlas repository.
Rules for Onestop IDs in this repository:
- Feeds start with
f-
and operators start witho-
- Geohash part is optional
- Name can include any alphanumeric characters in UTF-8
- The only separation or punctuation character allowed in the name component is a tilde (
~
)
Enriching Transitland Atlas with external reference data
We welcome help from the community to expand Transitland Atlas by reviewing external reference datasets, including:
License
All data files in this repository are made available under the Community Data License Agreement – Permissive, Version 1.0. This license allows you to:
- use this data for commercial, educational, or research purposes and be able to trust that it's cleanly licensed
- duplicate data, as long as you mention (attribute) this source
- use this data to create analyses and derived data (such as geocoding), without needing to provide attribution
We welcome you to contribute your edits and improvements directly to this repository. Please open a pull request!
Owner metadata
- Name: Transitland
- Login: transitland
- Email: [email protected]
- Kind: organization
- Description: a community edited data service aggregating transit networks across metropolitan and rural areas around the world; maintained by @interline-io
- Website: https://www.transit.land
- Location:
- Twitter: transitland
- Company:
- Icon url: https://avatars.githubusercontent.com/u/9141652?v=4
- Repositories: 31
- Last ynced at: 2024-03-27T07:16:12.983Z
- Profile URL: https://github.com/transitland
GitHub Events
Total
- Issues event: 15
- Watch event: 25
- Delete event: 187
- Issue comment event: 124
- Push event: 394
- Pull request review event: 6
- Pull request review comment event: 11
- Pull request event: 485
- Fork event: 27
- Create event: 170
Last Year
- Issues event: 15
- Watch event: 25
- Delete event: 187
- Issue comment event: 124
- Push event: 394
- Pull request review event: 6
- Pull request review comment event: 11
- Pull request event: 485
- Fork event: 27
- Create event: 170
Committers metadata
Last synced: 4 days ago
Total Commits: 1,582
Total Committers: 135
Avg Commits per committer: 11.719
Development Distribution Score (DDS): 0.466
Commits in past year: 387
Committers in past year: 51
Avg Commits per committer in past year: 7.588
Development Distribution Score (DDS) in past year: 0.349
Name | Commits | |
---|---|---|
Drew Dara-Abrams | d****w@i****o | 844 |
aquaticpotato3677 | 7****7 | 110 |
Automated Bot | i****o@i****o | 84 |
Rodrigo Pedraza | 4****1 | 65 |
szjozsef | 1****f | 60 |
Ian Rees | i****n@i****t | 56 |
github-actions[bot] | 4****] | 40 |
Juliet Eldred | e****t@g****m | 38 |
Nome | d****i@g****m | 18 |
Colby Davis | 1****3 | 12 |
Kyler Chin | 7****n | 11 |
AliG1000 | a****s@h****m | 10 |
Nicolas Derive | k****3@u****m | 10 |
Rodolfo Navalon | n****o@g****m | 10 |
evantrillium | 3****m | 8 |
Reid | b****e | 7 |
Frederick | 8****z | 7 |
MapGuy11 | 4****1 | 6 |
Kona Farry | k****a@t****m | 6 |
Fabio Alessandro Locati | 7****e | 6 |
Brock Haywood | b****d@g****m | 5 |
João Pereira | 6****p | 5 |
ericouyang | e****c@g****y | 5 |
Artur | 5****n | 4 |
Brendan Nee | b****n@b****m | 4 |
Félix Desjardins | F****X | 4 |
Kevin Kandlbinder | k****n@k****v | 4 |
Weston Shippy | 5****m | 4 |
Ricardo Maçãs | u****e@r****m | 3 |
Altonss | 6****s | 3 |
and 105 more... |
Committer domains:
- interline.io: 2
- goswift.ly: 2
- cavallium.it: 1
- dzen.ws: 1
- bbauer.eu: 1
- ethanpooley.net: 1
- seznam.cz: 1
- zaclys.net: 1
- stosberg.com: 1
- greenvillesc.gov: 1
- bretagne.bzh: 1
- rideamigos.com: 1
- patrickbrosi.de: 1
- disroot.org: 1
- claudiop.com: 1
- ricardomacas.com: 1
- kevink.dev: 1
- blinktag.com: 1
- trilliumtransit.com: 1
- ubuntu.com: 1
- idesmi.eu: 1
- pagopa.it: 1
- mvanlaar.net: 1
- pm.me: 1
- tcd.ie: 1
- gmx.de: 1
- intalere.com: 1
- kokanovic.org: 1
- fika.studio: 1
- elsinga.de: 1
- eutampieri.eu: 1
- libero.it: 1
- nwex.de: 1
- jakse.fr: 1
- hoshiru.net: 1
- petr.spackovi.net: 1
- boun.cr: 1
- fdms.eu: 1
- live.fr: 1
- kde.org: 1
- ianrees.net: 1
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 45
Total pull requests: 1,565
Average time to close issues: 4 months
Average time to close pull requests: 4 days
Total issue authors: 29
Total pull request authors: 147
Average comments per issue: 1.29
Average comments per pull request: 0.39
Merged pull request: 1,383
Bot issues: 0
Bot pull requests: 66
Past year issues: 11
Past year pull requests: 491
Past year average time to close issues: 9 days
Past year average time to close pull requests: 2 days
Past year issue authors: 10
Past year pull request authors: 55
Past year average comments per issue: 0.82
Past year average comments per pull request: 0.37
Past year merged pull request: 424
Past year bot issues: 0
Past year bot pull requests: 60
Top Issue Authors
- drewda (10)
- christrillium (4)
- aquaticpotato3677 (3)
- dinwun450 (2)
- rosecitytransit (2)
- etam (1)
- nekohayo (1)
- ivyrze (1)
- airon90 (1)
- cmata23x3 (1)
- kylerchin (1)
- rpedraza01 (1)
- dradding (1)
- fredisz (1)
- kylebarron (1)
Top Pull Request Authors
- drewda (763)
- aquaticpotato3677 (116)
- rpedraza01 (71)
- szjozsef (66)
- github-actions[bot] (65)
- irees (49)
- julieteldred (40)
- evantrillium (29)
- kylerchin (21)
- colbyjd3 (19)
- NomeQ (19)
- AliG1000 (13)
- Altonss (12)
- airon90 (11)
- kalon33 (10)
Top Issue Labels
- bug (3)
- question (1)
- enhancement (1)
Top Pull Request Labels
- dependencies (1)
Dependencies
- requests *
- sqlite-utils *
- certifi ==2021.5.30
- charset-normalizer ==2.0.3
- click ==8.0.1
- click-default-group ==1.2.2
- idna ==3.2
- importlib-metadata ==4.6.1
- requests ==2.26.0
- sqlite-fts4 ==1.0.1
- sqlite-utils ==3.13
- tabulate ==0.8.9
- typing-extensions ==3.10.0.0
- urllib3 ==1.26.6
- zipp ==3.5.0
- actions/checkout v2 composite
- actions/setup-python v1 composite
- actions/checkout v2 composite
- actions/setup-python v1 composite
- actions/checkout v1 composite
- actions/setup-node v2-beta composite
- actions/setup-python v1 composite
Score: 9.992871113670812