-
Notifications
You must be signed in to change notification settings - Fork 16
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
DetailedItineraries
does not contain any agency info
#361
Comments
From poking around it looks like we use a distinct |
You could check out what’s in |
there’s a bit of inheritance logic on how |
I mean we could simply add another column there, but it needs to be added in the right places. |
Since you’re the GTFS expert, @wklumpen , could you choose which of the following would be most relevant to include in the output data (I would suggest to refrain from including all of them to keep our output at a reasonable size) |
Based on OTP itineraries it seems to me that the minimum set of useful data would include (from the GTFS)
Which could then be easily joined with various GTFS tables to get more metadata. Looking at that line of code I can't quite see what's all available but I'll look again. Happy to attempt a PR but I'm not quite clear on how it's all nested here. |
Route Info contains agency/route level data so that's a good start. Given this is designed as a trip planner and that we have times in the output we must have some trip, stop, and stop_times level data floating around. |
Oh and to avoid ambiguous agency ID issues I would actually go with |
You’d have to start from Probably forgot something here, but those are the steps I think will sufficient/necessary |
Okay here's what I'm going to add (as I need it for my purposes and it allows a complete reconstruction of steps). Let me know if there's a red flag anywhere there, I'm happy to write up a guide afterwards about what to do with it.
This allows us to capture a sufficient level of detail to track what stop is being used where. We could I suppose also add the Note however that this no longer produces "human readable" information in terms of what you might expect from a trip planner, but when the data is joined to a GTFS feed it can provide the required data. |
When using multiple datasets, it is not clear what agency a "route" might be associated with. I think if possible we need another column to show some sort of unique-ish Agency information (or in my case ideally the actual GTFS source).
Do we know off-hand what's returnable here? Otherwise I can dig into the code.
The text was updated successfully, but these errors were encountered: