Skip to content

Lanes should indicate validity per indication #2935

@freenerd

Description

@freenerd

When implementing lanes on osrm-frontend Project-OSRM/osrm-frontend#187, I noticed that valid is only given for whole lanes, but not for single indications on the lanes.

What is currently possible:

screen shot 2016-09-20 at 19 14 18

"type": "turn",
"modifier": "left",
"lanes":[
         {"indications":["left","straight"], "valid": true},
         {"indications":["straight"], "valid": false}
],

What I would like to see:

screen shot 2016-09-20 at 19 14 07

"type": "turn",
"modifier": "left",
"lanes":[
         {"indications":["left","straight"], "valid": [ true, false ]},
         {"indications":["right"], "valid": [ false ]}
]

/cc @MoKob @daniel-j-h @bsudekum @1ec5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions