-
Notifications
You must be signed in to change notification settings - Fork 447
Open
Open
Copy link
Labels
demanding 💪More complex features that are expected to require more than 1 week of workMore complex features that are expected to require more than 1 week of work
Description
Is there an existing issue for this?
- I have searched the existing issues
Feature/Enhancement Proposal
In case where sidewalk=separate
is mapped on a major road (e.g. https://www.openstreetmap.org/way/1136460176), the separately mapped sidewalks (e.g. https://www.openstreetmap.org/way/1219082393) usually don't have a name.
As a consequence, foot routes using this sidewalk don't show good instructions:
curl --location 'https://api.openrouteservice.org/v2/directions/foot-walking?api_key=<YOUR-API-KEY-HERE>&start=-73.977075%2C40.758075&end=-73.984403%2C40.773501'
yields
"steps": [
{
"distance": 32.9,
"duration": 23.7,
"type": 11,
"instruction": "Head northeast",
"name": "-",
"way_points": [
0,
1
]
},
{
"distance": 661,
"duration": 475.9,
"type": 0,
"instruction": "Turn left",
"name": "-",
"way_points": [
1,
17
]
},
{
"distance": 418.5,
"duration": 301.3,
"type": 1,
"instruction": "Turn right",
"name": "-",
"way_points": [
17,
38
]
},
{
"distance": 65.4,
"duration": 47.1,
"type": 4,
"instruction": "Turn slight left",
"name": "-",
"way_points": [
38,
39
]
},
{
"distance": 254.2,
"duration": 183,
"type": 4,
"instruction": "Turn slight left",
"name": "-",
"way_points": [
39,
53
]
},
{
"distance": 117.3,
"duration": 84.4,
"type": 1,
"instruction": "Turn right",
"name": "-",
"way_points": [
53,
71
]
},
{
"distance": 40.4,
"duration": 29.1,
"type": 0,
"instruction": "Turn left",
"name": "-",
"way_points": [
71,
77
]
},
{
"distance": 99.1,
"duration": 71.4,
"type": 1,
"instruction": "Turn right",
"name": "-",
"way_points": [
77,
83
]
},
{
"distance": 2.9,
"duration": 2.1,
"type": 4,
"instruction": "Turn slight left",
"name": "-",
"way_points": [
83,
84
]
},
{
"distance": 365,
"duration": 262.8,
"type": 13,
"instruction": "Keep right",
"name": "-",
"way_points": [
84,
104
]
},
{
"distance": 44.4,
"duration": 32,
"type": 0,
"instruction": "Turn left",
"name": "-",
"way_points": [
104,
113
]
},
{
"distance": 125.4,
"duration": 90.3,
"type": 12,
"instruction": "Keep left",
"name": "-",
"way_points": [
113,
115
]
},
{
"distance": 5.2,
"duration": 3.7,
"type": 0,
"instruction": "Turn left",
"name": "-",
"way_points": [
115,
116
]
},
{
"distance": 44.7,
"duration": 32.2,
"type": 1,
"instruction": "Turn right",
"name": "-",
"way_points": [
116,
119
]
},
{
"distance": 0,
"duration": 0,
"type": 10,
"instruction": "Arrive at your destination, on the left",
"name": "-",
"way_points": [
119,
119
]
}
]
}
],
Additional context
No response
Possible Implementation
No response
Forum Topic Link
No response
aoles, wfar and mattmahn
Metadata
Metadata
Assignees
Labels
demanding 💪More complex features that are expected to require more than 1 week of workMore complex features that are expected to require more than 1 week of work