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 decimals for reduced speed limit KPH values #217

Closed mark-mockett closed 2 years ago

mark-mockett commented 2 years ago

This patch allows the renamed reduced_speed_limit_kph property to take numbers instead of integers, allowing more precise values for speed limits converted to km/h from mph. This minor change is backward compatible with the previously approved change and only requires approval of the WZDWG co-chairs.

dxpack commented 2 years ago

This type change should also be applied to the average_speed_kph properties of the the TrafficSensor and TrafficSensorLaneData objects. There may be additional properties in the spec that should be updated as well, where a speed measurement type is Integer.

j-d-b commented 2 years ago

@dxpack thanks, added a new issue for it (#219).