opentripplanner / OpenTripPlanner

An open source multi-modal trip planner

Home Page:http://www.opentripplanner.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

route_sort_order: pass values through graphql

fpurcell opened this issue · comments

Goal / high level use-case
Web apps like OTP-RR lists routes in various places. The source of these lists is from OTP's graphql api. When route_sort_order is defined in GTFS, these apps should abide by that information to sort these route lists.

This feature will add GTFS's route_sort_order information via OTP's graphql api.

Describe the solution you'd like
Pass GTFS' route_sort_order values thru the graphql api where ever transit route information is available. A default value of 11111111111 would be an acceptable value in cases where GTFS does provide a whole number value for route_sort_order. (I guess a null value, or zero value is also acceptable...developer choice :-)).

Additional context
Adding route_sort_order was discussed at March 21, 2024's dev meeting.