Skip to content

Ambiguous value of total_num_lanes #140

Closed

Description

@j-d-b

Background

Lane numbering, whether something like a shoulder counts as a lane, and related topics have been a subject of much discussion throughout the WZDx spec development. The v3.0 release added the order property to the Lane object to identify a lane's position on the roadway rather than using lane_number for this as agencies were using lane_number differently. Most importantly, they are using the lane number when speaking about lanes (e.g. "lane one is closed"), in the typical case, a shoulder or bike lane (which are "lanes" in WZDx terms) would not be given a lane number and would not be counted in total_num_lanes on the RoadEvent.

Problem

It is not clear whether total_num_lanes should be the number of standard general travel lanes (traditionally numbered lanes) or all WZDx lanes.

Practically, that means total_num_lanes could differ from the length of the lanes array on a RoadEvent.

Note if lanes are provided, regardless of how total_num_lanes is being used, it does not provide any additional information as it can be gathered from the lanes array.

Next steps

It needs to be clarified what the value of total_num_lanes should reflect.

Activity

  1. added and removed
    Needs discussionThis issue needs clarification/additional discussion or is inactive
    on Dec 16, 2020
  2. j-d-b commented on Dec 16, 2020

    @j-d-b
    CollaboratorAuthor

    The top proposed solution to this issue so far is to deprecate this property, to be removed in a future version.

    If lane-level information is provided it has no value and only adds confusion.

    There is minimal value in knowing the number of lanes if no information about the lanes is known.

  3. j-d-b commented on Apr 14, 2021

    @j-d-b
    CollaboratorAuthor

    Resolved in #148.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Business RulesThis item relates to WZDx business rules.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions