Support stop times dependent bike carriage#199
Conversation
What other examples are there of agencies with these restrictions? |
|
Stockholm's public transport authority has similar restrictions:
https://sl.se/en/in-english/getting-around/carry-on-luggage/ They consider every weekday 06:00-09:00 and 15:00-18:00 as rush hour (this is mentioned on the Swedish part of their site). |
|
Is this still to be merged? We would use it. In the Prague integrated transport system we needed to represent the bike allowance per stop time, because trams and particular buses carry bicycles only at some parts of their track. Also we needed to add two more options not present in this scenario.
|
|
When writing this PR, I had issues announcing it via gtfs-changes, but these should be resolved now. I'd announce it there to get some more feedback from possible producers/consumers. As this would be my first gtfs-changes PR, I'd be happy if there'd be a shepherd guiding me through, should I miss anything :-) |
|
I think it would be good (in general) to have a discussion about the future of attributes. The proposal done now is certainly an option, but I could also imagine going for the HAFAS approach where a table exists for a trip, stop sequencenumber (and stop id) with the present features. Which is certainly more compact. |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
This pull request has been closed due to inactivity. Pull requests can always be reopened after they have been closed. See the Specification Amendment Process. |
To understand you correctly @skinkie . The HAFAS approach
to allow/disallow boarding with bike per |
This PR proposes a more fine granular modeling of bike carriage. It addresses #198.
Currently, the availability of bike carriage can be specified via trips.bike_allowed.
However, many transport agencies (dis)allow bike carriage during specific time windows.
Or there are routes, where bicycles are allowed to (un)board only at specific stops.
This PR aims to support these policies by introducing a new optional field
stop_times.bikes_allowedwith the following options:Note however, that this straight forward modeling maps time policies to static stop_times. It's disadvantage is loosing the specific time window semantics, which could be problematic in realtime situations when delays occur. I'm unsure, how transport agencies handle such situations. If they'd require cyclists to adhere strictly to the official time windows, a proper file (e.g.
bike_allowance.txt) with fieldstrip_id,start_time,end_time,bikes_allowedperhaps would be necessary.Such a file additionally could provide notes regarding fare policies when carrying a bike.
N.B.: I'd like to announce this PR via gtfs-changes, but can't access it. Could anyone grant me access rights?