In my gps tracking system (PHP/MySql) I have got 5 Stops for a vehicle.
Whenever the bus reaches stop 1, the passengers at stop 2 should get an SMS alert. And in the same way for the sops followed by.
I have given stops as points. How can I determine whether the bus reached a particular stop? Should always monitor all 6 stop whether the bus reached once the trip is started? Can anybody give some idea?
(Map used: Google Map/Openlayers)
See the image.