-
Notifications
You must be signed in to change notification settings - Fork 8
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
add runtime_build_point to stop_times.txt #43
Comments
I don't get it. Can you describe what ambiguity this resolves, and can you give an example of the data? So far, I think ODS has been trying to avoid making changes to GTFS files. |
I would go so far as to say that it is an implicit requirement. Changes to GTFS have to be made via a separate path and are handled by way of that community's guidelines. We have avoided making any change requests to GTFS and should continue to do so. In this case, could we not handle the proposed functionality here, assuming it is needed, in the same way that we handle for example |
@safrazier17 okay to avoid modifying GTFS it may then be useful to do something like you suggest but also include a trip_id because it could be different for every trip. @skyqrose it's to manage situations like this:
<style type="text/css"></style>
<style type="text/css"></style>
Notice how when runtime_build_point = 1 that all runtimes are now 6 minutes because the software builds the trip from C. Since it's after 6:30, it will build all points from the period 6:30 - 6:59:59. To be totally honest, this sort of functionality makes little sense to me but it exists in the software so I have to assume it is used somewhere. |
This seems like an internal detail of the scheduling application that wouldn't need to be published to other applications once the scheduling system has chosen the times. ODS so far has been about publishing completed schedules. I guess runtimes.txt could be useful as a standardized input into the scheduling system, but at that point, stop_times.txt doesn't exist. What's the benefit to publishing in ODS/GTFS the rules for how to generate stop_times, when the finished stop_times are already there? |
We see this as a way to help allow the smooth transfer of data between 2 systems when network planners use one system and a scheduler uses another, and then allowing them to iterate their ideas quickly. A good example is if we have Hastus for scheduling, but the network planners prefer to use something like Remix, we need a way to send information back and forth without triggering lots of data entry. Especially in a tender scenario where time is highly constrained. In our case, even if trip times exist, the network planner often modifies trips to sync with new requirements from the government, "must meet these vehicles at X bus station, must meet Y trains at this station." We also modify timetables when there is road closures, so modifying existing timetables for us is quite common. So it's important to have runtime information so that trips are created realistically. |
That makes sense. But this still a detail about how the schedule is generated, rather than trying to accurately describe service. The real-world time between stops An alternative suggestion, as long as you control enough of the two systems to adjust how they load data: Could you write this data for your use case in a non-standard way? This would not break other GTFS consumers, because the spec says to ignore unrecognized fields/files.
|
The I still think it doesn't fit ODS's main goals because it's an internal implementation detail rather than describing service, but now that there's an obvious way to write the spec that doesn't make the spec more complicated, and because it doesn't affect me, I only have a very weak objection. One detail of #55 that hasn't been resolved yet is the use of nonstandard columns (asked as Q3 here). Assuming it's okay to add columns that aren't officially supported to |
Another thought: Does this belong in |
I believe we should put this in a For me, I think it fits ODS in that it helps transfer data but also to ensure that when brought in to another system, that data is properly preserved. Without this, trips would could "shift" to the segment distribution style if they are not frozen on import. |
In conjunction with adding runtimes.txt from issue #42 to enable runtimes to move from between platforms, it is necessary to add a way to distinguish where running time should be distributed from within a trip. This proposal seeks to add runtime_build_point as a boolean value to stop_times.txt to enable this.
runtime_build_point
0 = runtimes for the trip are not built from a particular point, but should be distributed from beginning of the trip forward.
1 = This is the point where running time should be built from. This can only be used when runtime_style = 1 in runtimes.txt
The text was updated successfully, but these errors were encountered: