I am looking for a way to compare routes of two or more persons to be taken by car.
Person 1 has a starting point A1 and a destination point A2. Person 2 has a starting point B1 and a destination point B2. [...]
What I would like to accomplish:
- Check, if A1 and B1 are close to each other.
- Calculate walking and/or driving distance from A1 to B1.
- Save the individual routes of Person 1 and Person 2 in a way, that allows for performant comparison to other routes / route points.
- Identify, if the routes to be taken of Person 1 and Person 2 are similar enough, to have at least same route parts.
Are there already (open source) examples of code around that I haven't found yet? Or can you give me advice on how to approach this problem?
Any help is highly appreciated.