Sorry, you need to enable JavaScript to visit this website.
wojtasze's picture

Is there any way to check whether two routes are the same?

In theory, you could check that all of the path points in the response match. That would guarantee that the two routes have exactly the same geometry. However, a quick way to check is to compare the lengthInMeters of two routes. Although it's possible that two different routes to the same place could have exactly the same length, it's not likely.