Addition of vehicles.txt to GTFS schedule#636
Conversation
Additional rows
|
You are actually introducing Transmodel like functionality with newly invented terms. My suggestion would be to fully align the attribute names with NeTEx. |
|
Based on the NeTEx standard these are the relevant fields.
|
Yes, I can see the benefit from creating two tables, one based on the TODS vehicles.txt plus a I could just update vehicles.txt with all the columns to follow TODS instead of TIDES.
In TransSee, for an individual vehicle, it finds the record where the vehicle's label is between the low and high range, so a library to expand the values isn't really needed.
This would help for some places with overlapping fleet numbers.
The Niagara Falls People Mover used to have unpowered bus trailers with no cabs.
That would probably be better.
It's worth considering. Looks like
I think that
Interesting feature.
Good suggestions. |
To follow TODS would eliminate the ability to define things with high/low ranges, which to me would be massively more complex than having a separate table since producers have to duplicate this data across a ton of individual vehicles. In my experience, operators already understand this concept and would have no problem mimicking it.
Pantograph does this currently but is moving away from it, instead defining every single vehicle ID. I think it's also a pretty basic expectation that a consumer could determine all the vehicles an agency has based on this file.
There are also cases where this would be useful to riders. In Puget Sound, bus routes from Sound Transit are operated by one of the three county partners, and ST routes appear in those agencies' GTFS feeds. The agencies usually operate ST service with ST buses and their own service with their own buses, but this does get mixed up from time to time. Similar to the above, I think it's also a reasonable expectation that a consumer could know who owns a vehicle in this file. The semantics should work just like
The description for this field is ambiguous as written and implies it's only for rail vehicles. If the intent is to cover all vehicles then it should be updated accordingly.
I agree. My agency has
The ADA requires this at stops served by multiple routes, so our system is configured to do it only at those stops. I'm sure other agencies have similar functions. (I do not know why one wouldn't just always announce the route, but this is the reality of the situation at the moment.) Point being, |
|
I have updated the fields to match TODS field names. The question is should this data be split into two tables, vehicles.txt with the There would still be a Is it better to split the data into table tables and making the structure somewhat more complex or to keep it in one table with a |
I don't see using the vehicle label as the primary key working. In Stockholm for example there are multiple buses with the same label used by different operators which all run under the same agency. This can not be solved without using unique vehicle_ids. |
Summary
Adds new file vehicles.txt to describe the capacity, accessibility, appearance and features of individual vehicles or vehicle ranges.
Describe the Problem
Based on issue 458. When combined with the vehicle label in GTFS real-time or other real-time APIs, this allows consumers to provide a variety of information about the approaching vehicle to riders.
Use Cases
Proposed Solution
The addition of a new table called vehicles.txt that describes the vehicles of a transit agency. Also, the addition of vehicle_class columns to routes.txt and trips.txt which allows routes and trips to include the vehicles that typically operate for that route or trips and allow vehicles.txt information to be used if real-time data isn't available.
Type of change
GTFS Schedule
Additional Information
There is currently a vehicles file in TIDES as well as TODS. This proposal expands on TODS with additional details that are useful for riders.
The Proposal: Add cyclist position availability fields to VehiclePosition and CarriageDetails includes a total_cyclist_positions value, which wouldn't be needed if the data was available from vehicles.txt.
Some of the examples for the use of Proposal: Additional (Trip) Notices could be handled by vehicles.txt including the availability of WiFi, food and bicycle storage.
I have created a Google Sheet with vehicles data for Toronto TTC, Los Angeles Metro, New York Metro North rail and Toronto GO Train. These can be downloaded as Comma Separated Values to generate a vehicles.txt file. These have been loaded into TransSee.
Some transit enthusiasts who use TransSee have contributed files as well. Transit enthusiasts could crowd source data in places where transit agencies don't generate it on their own. There could be TODS like extensions to this structure that would include data that is important to them.
BusTimes.org provides some of the same information for bus fleets in the UK.
Proposed Discussion Period
As a large proposal, I suggest at least three months of discussion.
Testing Details
Proposal Update Tracker
Checklist