Location in water


I am trying to compute a distance matrix. However, I assume that some distances were not able to compute, because one of the coordinates is near water. Could you please suggest a way to “fix” the coordinate in water? Or the only way is to fix it manually?

Thank you for your time!

Hi @Tanya_Yakushina,

could you provide the error response you are facing?
Best also include the full request you are making.

The algorithm will try to find the closest point on the routing graph within 350m in our live API (adjustable in local ors isntance).
If it can’t find a route, usually the entry for that pair should be 0.
So yes you would have to fix that on the data side.

Best regards