Identify objects (bus) on the map based on coordinates (lat, lon)
You might build a logic of distance. This will raise an issue with buses passing each other. For curiosity,  can't you identify source of signal?

To be honest, me thinking of same problem but from moving objects identifying (computer vision), so you can consider approaches out there.

Good luck.