transitland-atlas
an open directory of mobility feeds and operators — powers both Transitland v1 and v2
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.2%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
an open directory of mobility feeds and operators — powers both Transitland v1 and v2
Basic Info
- Host: GitHub
- Owner: transitland
- License: cc-by-4.0
- Language: Python
- Default Branch: main
- Homepage: https://www.transit.land/operators/
- Size: 32.6 MB
Statistics
- Stars: 155
- Watchers: 11
- Forks: 202
- Open Issues: 9
- Releases: 0
Topics
Metadata Files
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.
[!NOTE] Transitland Atlas is now released under the CC-BY license. When using Transitland Atlas in your own projects, please include a link to this repo or to www.transit.land
Table of contents:
- Feeds
- How to Add a New Feed
- Opinionated DMFR file format
- How to Update an Existing Feed
- Operators
- Onestop IDs
- Enriching Transitland Atlas with external reference data
- License
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
./feedsfile 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.jsonas a starting point, which contains the basic schema and an example feed. - Feeds exist as an array in the
feedsproperty 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 hello@transit.land
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_currentfor the present URL. - Add the previous URL value to the
static_historicarray.
- 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 with o-
* name: A formal name for the operator, such as Bay Area Rapid Transit
* short_name: A simpler, colloqial name for an operator, such as BART
* tags: A set of key,value string pairs that provide additional metadata and references
* website: A URL to find more information about this operator
* associated_feeds: An array of feed association objects; for each entry, feed_onestop_id is required and gtfs_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
Unless otherwise indicated, data files and scripts in this repository are made available under the Creative Commons Attribution 4.0 International Public License. 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
- Name: Transitland
- Login: transitland
- Kind: organization
- Email: hello@transit.land
- Website: https://www.transit.land
- Twitter: transitland
- Repositories: 31
- Profile: https://github.com/transitland
a community edited data service aggregating transit networks across metropolitan and rural areas around the world; maintained by @interline-io
GitHub Events
Total
- Issues event: 22
- Watch event: 29
- Delete event: 286
- Issue comment event: 168
- Push event: 549
- Pull request review event: 6
- Pull request review comment event: 11
- Pull request event: 779
- Fork event: 41
- Create event: 292
Last Year
- Issues event: 22
- Watch event: 29
- Delete event: 286
- Issue comment event: 168
- Push event: 549
- Pull request review event: 6
- Pull request review comment event: 11
- Pull request event: 779
- Fork event: 41
- Create event: 292
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Drew Dara-Abrams | d****w@i****o | 942 |
| aquaticpotato3677 | 7****7 | 110 |
| Automated Bot | i****o@i****o | 84 |
| Rodrigo Pedraza | 4****1 | 65 |
| szjozsef | 1****f | 63 |
| Ian Rees | i****n@i****t | 56 |
| github-actions[bot] | 4****] | 55 |
| Juliet Eldred | e****t@g****m | 38 |
| Nome | d****i@g****m | 20 |
| Colby Davis | 1****3 | 12 |
| Kyler Chin | 7****n | 11 |
| AliG1000 | a****s@h****m | 10 |
| Rodolfo Navalon | n****o@g****m | 10 |
| Nicolas Derive | k****3@u****m | 10 |
| Fabio Alessandro Locati | 7****e | 9 |
| Lach-anonym | 5****m | 8 |
| evantrillium | 3****m | 8 |
| Altonss | 6****s | 7 |
| Reid | b****e | 7 |
| Frederick | 8****z | 7 |
| Kona Farry | k****a@t****m | 6 |
| MapGuy11 | 4****1 | 6 |
| Claudio Pereira | d****t@c****m | 5 |
| Brock Haywood | b****d@g****m | 5 |
| João Pereira | 6****p | 5 |
| ericouyang | e****c@g****y | 5 |
| Kevin Kandlbinder | k****n@k****v | 4 |
| Félix Desjardins | F****X | 4 |
| Brendan Nee | b****n@b****m | 4 |
| Artur | 5****n | 4 |
| and 115 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 57
- Total pull requests: 2,199
- Average time to close issues: 3 months
- Average time to close pull requests: 4 days
- Total issue authors: 31
- Total pull request authors: 160
- Average comments per issue: 0.98
- Average comments per pull request: 0.36
- Merged pull requests: 1,881
- Bot issues: 0
- Bot pull requests: 154
Past Year
- Issues: 18
- Pull requests: 834
- Average time to close issues: 12 days
- Average time to close pull requests: 2 days
- Issue authors: 11
- Pull request authors: 57
- Average comments per issue: 0.39
- Average comments per pull request: 0.32
- Merged pull requests: 692
- Bot issues: 0
- Bot pull requests: 115
Top Authors
Issue Authors
- drewda (19)
- christrillium (4)
- aquaticpotato3677 (3)
- Fale (2)
- dinwun450 (2)
- rosecitytransit (2)
- nekohayo (1)
- airon90 (1)
- etam (1)
- kylerchin (1)
- ivyrze (1)
- 1Maxnet1 (1)
- cmata23x3 (1)
- dradding (1)
- rpedraza01 (1)
Pull Request Authors
- drewda (1,121)
- github-actions[bot] (153)
- aquaticpotato3677 (120)
- rpedraza01 (71)
- szjozsef (67)
- irees (50)
- julieteldred (41)
- NomeQ (36)
- colbyjd3 (31)
- evantrillium (29)
- Altonss (27)
- kylerchin (26)
- Fale (18)
- Lach-anonym (16)
- AliG1000 (13)
Top Labels
Issue Labels
Pull Request Labels
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