-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorganize GTFS "catalog" as many/many relationship of transit providers GTFS datasets #21
Comments
not to plug
|
(this might be just a restating of 2) |
(Totally fine with I think what you wrote is same as 1, which I think is the preferable answer - you'll just want to track feeds you've already validated if they are duped. Interesting about feed subsets. It might be that we want to do the validation and grading on both the subset and the regional feed b/c the subset will have some agency-specific stuff in there. |
@antrim brought up yesterday on the call the idea of using DRMT, which is currently used by the new transitland-atlas.
I think the two most viable options for moving the list away from a Google Sheet are either to capture and create a repository full of DRMT files for each CA agency, or do a simpler
and store it in Github. The MTC situation is a little messy in this format, but I think if we stick with roughly a 1) based option based on @e-lo thoughts above, it will be most compatible with MobilityDatabase in the future even if it requires a bit of custom code. Should we store any agency metadata aside from `
|
putting inline the list of agencies where the link under the
|
Here's my thought on format. Would treat ITP ID and name string as the metadata. to my knowledge, nobody has multiple GTFS-RT feeds, but could adopt the {list(url)} structure if needed.
|
Do we need way of relating static and real-time feed URLs if there are multiple static URLs? Something like so?
|
I think inside the gtfs_url object, static should be a list of URLs to handle the one agency has many static download urls case. Given that MTC is a big portion of the state, we can either ignore the regional feed or code it inside a second name object, which is the approach above. Here's what I think a MTC Agency should look like
Essentially, each key URL key should have a list of URL values, I think. Note, those urls I posted above should be equivalent in content but... we should monitor and find out. I can take a first pass at getting a PR for this ready today b/c I have a pending ask from @mcplanner. |
The way I understand, this would depend on This would be used internally by Cal-ITP, yes? Would it ever be published externally? If so, I see an issue storing API keys in the URL. It might be useful to separate out some of the API information. Also, would it be useful to have a URL with terms/license/API key info? |
I think they are all linked in that they are in a shared object? |
In the above example though, how are
https://api.actransit.org/transit/gtfs/download?token=2512B81107A09D2DC44895CDDC650D47
and http://api.actransit.org/transit/Help/Api/GET-gtfsrt-tripupdates
explicitly
linked?
…On Mon, Mar 8, 2021 at 1:01 PM Hunter Owens ***@***.***> wrote:
I think they are all linked in that they are in a shared object?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRR3FZIW5KYQFTZRZXKSQTTCU3KBANCNFSM4XY54K7A>
.
--
Aaron Antrim (he/him)
CEO & Founder
Trillium <http://trilliumtransit.com/> - We make transit easier to use.
+1 (503) 567-8422 ext. 3
|
Wouldn't an associated transit provider in MobilityDatabase for both the realtime and static be sufficient? |
In some cases, but not always. Case in point LAMTA or providers which contract out part of their service. In any case, we should clarify how we document the spanning of the dataset, noting that MobilityDatabase will be doing same thing so we should be consistent if possible. Strawperson for static:
Then a rule for hierarchy in the case of conflict e.g. most preferable sources at top, or last published, etc. |
fyi, first draft of this PR is now live in #23 |
This is complete, or at least, mostly done and can be reopened w/ new sub-issues as we use the new file! |
Whereas some GTFS datasets have multiple transit providers (e.g. MTC's) and some transit providers have multiple datasets (e.g. LACMTA), the GTFS data catalog needs to be formatted and maintained to acknowledge this relationship.
Options
1. List of feeds by transit provider
LACMTA, BART
2. List of feeds by tuple of transit providers included
Other?
The text was updated successfully, but these errors were encountered: