I am having a vehicle route with a set of latitude and longitude values. User need travel on the specified route, If user deviates from the route (greater than 100 meters), we need to identify in which point the user moved away from the expected route. The user can again join on existing route after deviation. I need to calculate,
- How far is the user travelling on the same expected route?
- How far the user deviates from the expected route?
Is there any approach?