You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user coding changes to transit stop permissions, dwell times, or hard coded transit travel times, I'd like to be able to code these as a transit routing change rather than having to delete the route and then re-add it as a new route
The way it is
Transit routing changes currently only have the ability to turn a stop on/off. Note that as currently specified in the spec it is a generic array, so could have more information, but it isn't built in to a specific representation.
transit_route_addition:
routes:
- route_id: ...trips:
headway_secs: ...routing:
- 1:
stop: true #when stop is set to True, defaults to allow both boarding and alighting
- 2
- 3:
time_to_next_node_sec: 90
- 4:
stop: true # default to False, specify only when stoppingalight: false # default to True, specify only when not default
- 5
Existing work-arounds
You can work-around this limitation by deleting a route and then re-adding it back in, although this would create different trip_ids.
The way it could be
transit_routing_change:
service:...routing:
existing:
- 1
- 2
- 3set:
- 1:
stop: true #when stop is set to True, defaults to allow both boarding and alighting
- 2
- 3:
time_to_next_node_sec: 90
The text was updated successfully, but these errors were encountered:
As a user coding changes to transit stop permissions, dwell times, or hard coded transit travel times, I'd like to be able to code these as a transit routing change rather than having to delete the route and then re-add it as a new route
The way it is
Transit routing changes currently only have the ability to turn a stop on/off. Note that as currently specified in the spec it is a generic array, so could have more information, but it isn't built in to a specific representation.
Whereas new routes can specify:
boarding
: boolalighting
: boolstop
: booltime_to_next_node_sec
: intdwell_sec
: intExisting work-arounds
You can work-around this limitation by deleting a route and then re-adding it back in, although this would create different trip_ids.
The way it could be
The text was updated successfully, but these errors were encountered: