given 2 users
- A
- B
and 2 journeys
- A goes from X to Y
- B goes from J to Z
is it possible to find a common route in Google Maps?
What sort of algorithm can I use to discover similar journeys?
EDIT: i try to be more accurate: for common route, i mean part they can travel togheter.
As far as I can tell, what you need is something similiar to Dijikstras algorithm. Use this to build a graph and then compare them to find the common path