usdot-jpo-ode / wzdx

The Work Zone Data Exchange (WZDx) Specification aims to make harmonized work zone data provided by infrastructure owners and operators (IOOs) available for third party use, making travel on public roads safer and more efficient through ubiquitous access to data on work zone activity.
Creative Commons Zero v1.0 Universal
89 stars 62 forks source link

Allow lane-level traffic sensor data without a defined road event #267

Closed j-d-b closed 2 years ago

j-d-b commented 2 years ago

This PR resolves #225, specifically:

This change allows a producer to provide lane-level traffic data without needing the ID of a defined road event.

j-d-b commented 2 years ago

This PR is in draft state until #265 is merged.

sknick-iastate commented 2 years ago

A couple of comments:

Should the lane_data in the TrafficSensor Object also be updated. For the description you could possible use: A list of objects each describing traffic data for a specific lane whcih can be linked/associated with a road event lane and indicate the metrics of that lane. I think the notes can probably be removed entirely or softened significantly.

If someone doesn't know the road_event_id I'm not not sure how the lane_order can be used since it also refers to the road_event_id. My initial thought was just to soften the text to say that it corresponds to the road events Lane's if provided then copy the guidance from lane_order for those that do not know the road_event_id. But the issue with this is that it then limits the lane data to only a single direction since the count is from left to right. If both directions are provided the lane_order values will likely be repeated and make them indistinguishable by direction.

A few possible options I can think of to resolve this are:

j-d-b commented 2 years ago

Description changes to be made per co-chairs discussion 2022-08-04

TrafficSensorLaneData:

TrafficSensor: