trips/router/internal/traffic
Greg Pomerantz fc9cf44052 traffic: live-traffic pipeline (511NY → Overpass match → OSRM segment speeds)
Verified end-to-end on the local OSRM stack:
- internal/traffic: 511NY OData client (lenient decode, raw archive),
  Overpass way matcher (class-window selection: highest-class road within
  150m beats a closer service road), incident policy map, CSV builder
- cmd/traffic: fetch | match | apply; apply copies the dataset (CoW) and
  re-customizes the traffic layer in ~15s (v26 customize has no
  --output-prefix; it writes contract files in place)
- Proof: synthetic I-90 closure → 38s (static :5000) vs 142s (traffic
  :5002) on the same 0.87 km stretch
- Policy speeds are 'assumed' provenance; R4: traffic routes must carry
  computed(traffic, as_of, policy=assumed)
2026-09-06 21:22:36 -04:00
..
fiftyone.go traffic: live-traffic pipeline (511NY → Overpass match → OSRM segment speeds) 2026-09-06 21:22:36 -04:00
overpass.go traffic: live-traffic pipeline (511NY → Overpass match → OSRM segment speeds) 2026-09-06 21:22:36 -04:00
policy.go traffic: live-traffic pipeline (511NY → Overpass match → OSRM segment speeds) 2026-09-06 21:22:36 -04:00
traffic_test.go traffic: live-traffic pipeline (511NY → Overpass match → OSRM segment speeds) 2026-09-06 21:22:36 -04:00