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

Add loops to Direction enumeration #356

Closed mark-mockett closed 1 year ago

mark-mockett commented 1 year ago

EDITED 11/04/2022 to reflect new description for inner-loop and outer-loop that is internationally consistent.

This PR adds two new values to the Direction enumerated type to support events on beltways or ring roads. Resolves #324.

Direction enumerated type

Value Description
northbound Road flow is in the northbound direction
eastbound Road flow is in the eastbound direction
southbound Road flow is in the southbound direction
westbound Road flow is in the westbound direction
NEW inner-loop Road flow is on the inner loop of a ring road or beltway. In countries that drive on the right side of the road, this is the clockwise direction.
NEW outer-loop Road flow is on the outer loop of a ring road or beltway. In countries that drive on the right side of the road, this is the counter-clockwise direction.
undefined Road flow does not have a signed direction. For a RoadEventFeature, the first and last coordinates in the feature's geometry represent the beginning and end of the road event in the direction of travel it impacts.
unknown Road flow may have a signed direction, but the affected direction of travel is not known

Question - should the descriptions change to be applicable to left-side traffic as well? How?