The files in this subdirectory relate to reviewing the US NTD release of GTFS weblinks and using it to update and add coverage to Transitland Atlas.
See:
- https://www.interline.io/blog/us-ntd-reporting-gtfs/
- https://www.interline.io/blog/us-ntd-reporting-gtfs-adopted/
- https://www.interline.io/blog/us-national-transit-database-releases-data-and-requests-more-feedback-2/
- https://www.transit.dot.gov/ntd/data-product/2023-annual-database-general-transit-feed-specification-gtfs-weblinks
2023-gtfs-weblinks-checked.csv
- CSV of feeds that have been checked against Transitland contents in late 2024. TheStatus
column indicates:- "Success" - URL returns valid GTFS data
- "Success (Retried with HTTP/HTTPS)" - URL works after protocol change
- "No results" - URL is not accessible or doesn't return valid GTFS
- Note: Agencies that did not provide a URL are not included in the check results. We welcome help to politely contact these agencies directly to ask for public URLs for their GTFS feeds.
2023-gtfs-weblinks.dmfr.json
- a JSON file containing proposed DMFR records for potentially unmatched records
To help, review the contents of 2023-gtfs-weblinks.dmfr.json
:
- Look for records that may be missing in Transitland Atlas
- Check for
likely_match_operator_link
andlikely_match_full
to see if the script successfully found an existing match, or if it's just noise - Also browse the Transitland map and website for an existing feed record in the same location but a different name (sometimes agencies change their brand name, or use a different name when reporting to NTD)
- When adding a feed to Transitland Atlas, you can also delete the relevant portion of
2023-gtfs-weblinks.dmfr.json
in the same pull request
To recreate these files:
wget https://www.transit.dot.gov/sites/fta.dot.gov/files/2024-10/2023%20GTFS%20Weblinks.xlsx
in2csv 2023\ GTFS\ Weblinks.xlsx > 2023-gtfs-weblinks.csv
pipenv run python check-ntd-urls.py 2023-gtfs-weblinks.csv > 2023-gtfs-weblinks-checked.csv
pipenv run python check-ntd-urls.py
Operator records in DMFR files that correspond to US NTD-reporting agencies can include a us_ntd_id
tag with the agency's NTD ID. For example:
{
"feeds": [
{
"id": "f-c23-metrokingcounty",
"spec": "gtfs",
"urls": {
"static_current": "http://metro.kingcounty.gov/GTFS/google_transit.zip"
},
"operators": [
{
"onestop_id": "o-c23-metrotransit",
"name": "King County Metro",
"website": "http://metro.kingcounty.gov",
"tags": {
"us_ntd_id": "00001"
}
}
]
}
]
}
This will be useful for ongoing cross-referencing between Transitland and US NTD datasets.