Plotting a route

Hi. It seems the only way to retrieve a routes lat/long in order to plot it in its entirety is to use e.g.

https://api.tfl.gov.uk/line/161/route/sequence/outbound

and then chop up the the single element stored in the lineStrings array.

e.g.

“lineStrings”: [
“[[[0.075038,51.412448],[0.074979,51.412413],…[0.074626,51.412230],[0.073659,51.412796]]]”],

Is that the approach used by other people in this forum?

Thanks,
Steve

That works as far as stops is concerned, but doesn’t take into account road junctions, so it can have some odd effects.,