Trying to get all possible routes for a (tube) line I’m making the following call
The RouteSequence response contains these 3 fields
- lineStrings : 5 arrays of LatLongs
- orderedLineRoutes : 5 arrays of naptanIds
- stopPointSequences : 8 arrays of MatchedStops that can result into 5 joining the branches using prev/next branchId info
It seems that lineStrings[x] does not always correspond to orderedLineRoutes[x].
What is the proper way to extract those 5 triples taking one array from each field?