calculate curb dwell time and occupancy metrics with the curb data specification (cds) metrics api

domain: github.com/openmobilityfoundation · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Derive Metrics sessions from the raw Events stream (CDS Events) rather than sourcing dwell time/occupancy independently — Metrics is explicitly defined as an aggregation layer on top of Events.
  2. Calculate the common statistics the spec defines a shared methodology for: historic dwell time, event counts per period (e.g. per hour), and percentage occupancy over fixed intervals (e.g. per 15 minutes).
  3. Use the same curb zone/policy identifiers from the Curbs API to scope which metrics apply to which physical location and regulation.
  4. Confirm which CDS release your metrics implementation targets, since methodology details have evolved across versions.
  5. Review the CDS GitHub discussions on metrics methodology for edge cases (e.g. overlapping sessions) before finalizing your calculation logic, since some methodology details are still being refined by the community.

Known gotchas

Related routes

implement the curb data specification (cds) events api to report real-time curb usage events
github.com/openmobilityfoundation · 5 steps · unrated
Integrate with a city's CurbIQ-hosted curb management API for zone and regulation data
curbiq.io · 5 steps · unrated
Adopt the Open Mobility Foundation's Curb Data Specification to publish or consume curb zone and usage data
github.com/openmobilityfoundation · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans