I’m trying to use this data to show only the closest stop point for any specific line, to specific coordinates I provide, whether it’s a Bus, Tube, or other.
I’m querying the data using the ‘list of stopPoints within an area’ and using NaptanMetroStation, NaptanPublicBusCoachTram, and NaptanRailStation stop points. Should I be using a different query or stopPoint type for this info?
For NaptanPublicBusCoachTram stopPoints, I can see the CompassPoint & ‘Towards’ data of bus stops. But as compassPoints change stop to stop (depending on the angle of the road), and towards data is not incredibly consistent, I was hoping for something more concrete to determine the direction of a bus. Something like ‘inbound’/‘outbound’ or a unique ID defining the direction of travel. Is there anything like that that I’m missing?
This is all I see for each individual bus line, listed under a station:
I’m brand new to this data so appreciate any hints/suggestions anyone can give.