You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(roads): extract more typed fields across all feed parsers
Audited the live feeds for the four non-DATEX formats (open511, wzdx,
autobahn, digitraffic). All set sourceRaw to the full record, so nothing
was lost — but several fields with a typed home stayed buried there.
Promote them:
- digitraffic: regions (municipality/province — 100% of live records),
description from roadWorkPhases comments, externalRefs.tmc from the
Alert-C location, per-restriction validity windows, and a features[]
fallback so phase-less TRAFFIC_ANNOUNCEMENT records still carry
restrictions/speed.
- autobahn: validTo and width parsed from the German description prose
(the feed exposes no structured end time, so events never expired
before — 54% of live warning/closure records now get one), plus
delaySeconds from the congestion delayTimeValue.
- wzdx: relatedEvents keeps each related_road_events relationship type
(relatedIds kept only the bare id); confidence from the date-
verification flags.
- open511: externalRefs.external from the GeoNames area id; roads
milepost from the +linear_reference_km extension (guarding -1/0).
Adds Restriction.validFrom/validTo and RoadEvent.relatedEvents to the
model. Verified against the live feeds; +47 parser tests (475 total).
0 commit comments