Routing not working in Spain

Hello everyone,
I have recently stated using ORS and I encountered a problem with routing in Jaen (Spain).

I have tried routing with the example code provided with 2 points in Germany and it works just fine, but when I try 2 points in Jaen (Point A: 37.778751838072914,-3.8082860818625073 and Point B: 37.77727204377562,-3.7898178089601147) it shows error code 2010 and the message “Could not find routable point within a radius of 350.0 meters of specified coordinate 0: 37.7787518 -3.8082861.; Could not find routable point within a radius of 350.0 meters of specified coordinate 1: 37.7772720 -3.7898178.”

I got this coordinates from the web map on this route: Openrouteservice Maps

Here is the request: https://api.openrouteservice.org/v2/directions/foot-walking?api_key=apikey&start=37.778751838072914,-3.8082860818625073&end=37.77727204377562,-3.7898178089601147

Thanks for the help

Hey,

note that the openrouteservice uses [lon, lat] instead of [lat,lon].
Thus, the following request should work:
https://api.openrouteservice.org/v2/directions/foot-walking?api_key=apikey&start=-3.8082860818625073,37.778751838072914&end=-3.7898178089601147,37.77727204377562

Best regards

Thanks! That’s works just fine. Nex time I will check that twice.

1 Like