Skip to content

Motorway names missing from instructions #2219

@schaefe6375

Description

@schaefe6375

Is there an existing issue for this?

  • I have searched the existing issues

Feature/Enhancement Proposal

Hello everyone,

Since cars are always routed on a road, all segments should have a name, but it is almost always '-'.
This also applies to the example in the API Playground for the Get method:

REQUEST
https://api.openrouteservice.org/v2/directions/driving-car?api_key=apikey&start=8.681495,49.41461&end=8.687872,49.420318

RESPONSE
"properties": { "segments": [ { "distance": 9995.8, "duration": 558, "steps": [ { "distance": 241.9, "duration": 15.8, "type": 11, "instruction": "Head north on Iserlohner Straße, B 233", "name": "Iserlohner Straße, B 233", "way_points": [ 0, 2 ] }, { "distance": 2198, "duration": 78.1, "type": 13, "instruction": "Keep right onto B 233, L 682", "name": "B 233, L 682", "way_points": [ 2, 35 ] }, { "distance": 464.1, "duration": 59.9, "type": 13, "instruction": "Keep right", "name": "-", "way_points": [ 35, 56 ] }, { "distance": 6355.1, "duration": 288.6, "type": 12, "instruction": "Keep left", "name": "-", "way_points": [ 56, 107 ] }, { "distance": 328.3, "duration": 29.8, "type": 13, "instruction": "Keep right", "name": "-", "way_points": [ 107, 111 ] }, { "distance": 130.2, "duration": 19.1, "type": 1, "instruction": "Turn right", "name": "-", "way_points": [ 111, 115 ] }, { "distance": 135.9, "duration": 32.6, "type": 1, "instruction": "Turn right onto Wilhelmstraße", "name": "Wilhelmstraße", "way_points": [ 115, 119 ] }, { "distance": 71.2, "duration": 17.1, "type": 0, "instruction": "Turn left onto Bertha-Krupp-Straße", "name": "Bertha-Krupp-Straße", "way_points": [ 119, 121 ] }, { "distance": 71.1, "duration": 17.1, "type": 0, "instruction": "Turn left", "name": "-", "way_points": [ 121, 125 ] }, { "distance": 0, "duration": 0, "type": 10, "instruction": "Arrive at your destination, straight ahead", "name": "-", "way_points": [ 125, 125 ] }

Additional context

@koebi answered me in the normal Forum.
https://ask.openrouteservice.org/t/motorway-names-missing-from-instructions/7815

Possible Implementation

No response

Forum Topic Link

https://ask.openrouteservice.org/t/motorway-names-missing-from-instructions/7815

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions