For our route planning for public transport it is necessary to integrate straight lines between two waypoints, e.g. if a bridge is soon to be completed but not yet represented in the graph.
I can think of two solutions for this:
- edit the graph (temporarily) by inserting a new edge.
- create a normal RoutingResponse up to the bridge, model the bridge as a manually created RoutingResponse, query the way to the destination again as a normal RoutingResponse and merge the three results.
I am interested in 2 things for this:
- is 1. technically feasible?
- is there already something in the codebase to concatenate two routing responses?