I am working on a system that detects the lat/long of vehicles. I want to track other vehicle's position: left, top-left, right, top-right, bottom-right, bottom-left etc based on lat/long.
I have used following logic to detect the bearing and direction of a vehicle:
http://www.movable-type.co.uk/scripts/latlong.html
Using the above script, I am able to detect the direction and bearing of other vehicles but could not get their position: left, right etc.