Hello,
I’m using the Matrix API to determine which city (among four tested cities) is the closest (in time) from a GPS point I want to test.
It works.
However, in analyzing the results I’ve realized that there are some gaps. The API will suggest one city as the closest, while a second is closer.
Here’s a simpler example: https://classic-maps.openrouteservice.org/directions?n1=47.06699&n2=0.484815&n3=12&a=47.422388,-0.563344,47.05054,0.54892&b=0&c=0&k1=en-US&k2=km
In this example, API suggests a journey that takes 1h45. However, there is a faster 12-minute route (https://www.google.com/maps/dir/Sainte-Gemmes-sur-Loire,+49130/Nou%C3%A2tre). The difference may seem small, but in reality, the first nearest city according to the API, among the 4 cities I’m testing, is 1 hour 43 minutes away (which is true). So when I process the API result, I select a city which, in reality, is not the quickest to reach.
Is it possible to force the selection of the fastest route?
Thanks for your help