Open Mu-yi-Zhou opened 1 week ago
We'll be talking about this to tomorrow's MDS WG meeting.
From WG meeting:
Gaps in the passenger services mode for current fields.
Routes for most operators should be private, provided for their own client. Desire to mirror some of the data models in GTFS.
Work done in a proposal by APIsTech w/ SFMTA already on mapping each needed field to MDS.
https://docs.google.com/document/d/1xnNx0z2aRkDwT0IdAXqvWvrpcJ0vK5jDNUW_zxgl_pM/edit?usp=sharing
I'd like to also mention an emerging standard from CalITP called TODS (Transit Operational Data Standard). It's meant for regulators to track bus activities, by supplementing GTFS with private feeds for that. It's more simplified in scope and structure vs MDS.
The format is more like GTFS (CSV format) than MDS (authenticated API structures), and doesn't cover all the use cases here especially around communicating to operators geofencing and operational rules and fees/incentives and restrictions. It also doesn't have GPS points/breadcrumbs, or route deviation tracking.
Following up on the working group call: I think fixed-route functionality for MDS could be a great addition. I took a quick look at the GTFS spec and while it looks like it would contain the necessary information, the format does look cumbersome and not well suited to APIs. I think fixed-route functionality could have utility across a number of modes so I would first attempt to support that independent of any mode. We could potentially make changes to the Event, Trip, and Policy specs to better support bus-ish service if necessary, especially under the passenger services mode.
That will be a great start to incorporate the 1) route identifier; 2) stop_id and stop_sequence by route; Which endpoints should these fields affiliated with? Will it be in the telemetry endpoints? When there are multiple stops in each route, will each stop in individual event or each event with multiple stops. The stop sequence is for the order of stops. The values must increase along the trip but do not need to be consecutive.
Based on the existing passenger mode to modify for the Shuttle Vehicle States Events draft (stop at multiple stop locations)
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
From vehicle_state | To vehicle_state | trip_state | event_type | stop_id | stop_sequence | Description -- | -- | -- | -- | -- | -- | -- stopped | on_trip | on_trip | trip_start | N/A | N/A | Start a trip on_trip | stopped | stopped | trip_stop | 13900 | 2 | The vehicle has stopped at shuttle stop while on a trip to pick up or drop off passenger stopped | on_trip | on_trip | trip_resume | N/A | N/A | Resume a trip that was previously stopped (e.g. picking up or drop off passenger) on_trip | stopped | stopped | trip_stop | 14446 | 5 | The vehicle has stopped at shuttle stop while on a trip to pick up or drop off passenger stopped | on_trip | on_trip | trip_resume | N/A | N/A | Resume a trip that was previously stopped (e.g. picking up or drop off passenger) on_trip | stopped | stopped | trip_stop | 20045 | 10 | The vehicle has stopped at shuttle stop while on a trip to pick up or drop off passenger stopped | on_trip | on_trip | trip_resume | N/A | N/A | Resume a trip that was previously stopped (e.g. picking up or drop off passenger) stopped | available | N/A | trip_end | N/A | N/A | The shuttle trip has been successfully completed
Is your feature request related to a problem? Please describe.
The SFMTA is getting regulated commuter shuttles on MDS 2.0, and we have issues when fitting some service attributes into the existing data schema of Passenger Service. 1) route identifier; 2) stop_id and stop_sequence by route; 3) stop_id linked with an event of stopping.
We are proposing a new mode of fixed route services, for example, commuter shuttle, private transit (that used to operate in SF).
Describe the solution you'd like
1) add a new mode of fixed route service 2) adding route_id, stop_id, stop_sequence to existing endpoints.
Is this a breaking change
Impacted Spec
For which spec is this feature being requested?
agency
policy
provider
Describe alternatives you've considered
adding route_id, stop_id, stop_sequence to existing endpoints
Additional context
Draft field mapping document
See also Issues #919 and #920.
See the recording and discussion from the public MDS WG meeting.