Hello,
i have a weird problem regarding maximum speed parameter and i couldnt figure out the problem.
Im trying to calculate a route with multiple locations, but the issue is specifically between this two points in the examples below. When specifying a maximum speed it returns route not found:
Example with speed:
POST
https://api.openrouteservice.org/v2/directions/driving-car/geojson
{
"coordinates": [
[
12.5635073,
55.6634043
],
[
12.58144286303,
55.677251917151
]
],
"maximum_speed": 130
}
Return:
{
"error": {
"code": 2009,
"message": "Route could not be found - Unable to find a route between points 1 (12.5635073 55.6634043) and 2 (12.5814429 55.6772519)."
},
"info": {
"engine": {
"version": "6.8.0",
"build_date": "2022-10-21T14:34:31Z"
},
"timestamp": 1669569908286
}
}
Working example:
POST
https://api.openrouteservice.org/v2/directions/driving-car/geojson
{
"coordinates": [
[
12.5635073,
55.6634043
],
[
12.58144286303,
55.677251917151
]
]
}
Is this an issue in the api?