Routing driving-car has error 2010 (point not found)


#1

Hi

I has a problem with routing API /v2/directions/{profile}

A request to routing from Sta. Maria to Umbrail with profile driving-car has the Error 2010 cannot not find the point Cannot find point 0: 46.539863,10.4332" but the point 46.539863,10.4332 is in the middle of the road…

curl -X POST
https://api.openrouteservice.org/v2/directions/driving-car
-H ‘Content-Type: application/json’
-H ‘Accept: application/json, application/geo+json, application/gpx+xml, img/png; charset=utf-8’
-H ‘Authorization: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’
-d ‘{“coordinates”:[[10.4332,46.539863],[10.432393,46.607035]]}’

  • “error”: { “code”: 2010, “message”: “Cannot find point 0: 46.539863,10.4332”

The same request with Profile cycling-mountain’. Runs but is not the shortest way

When I change the coordinates from Umbrail Pass in direction Sta Maria it’s running bud I see the route was not on the street, the route was on the hiking trail

curl -X POST
https://api.openrouteservice.org/v2/directions/driving-car
-H ‘Content-Type: application/json’
-H ‘Accept: application/json, application/geo+json, application/gpx+xml, img/png; charset=utf-8’
-H ‘Authorization: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’
-d ‘{“coordinates”:[[10.439377,46.579942],[10.432393,46.607035]]}’

HikingTrail

I has this problem on several points e.g:

{“coordinates”:[[8.448994,46.729918],[10.432393,46.607035]]}’

Has you an Idea was is wrong here?

Many thanks for your help.

Regards
Reto