Roads Management Insights is a geospatial analytics product that provides road congestion data (trip durations and speed reading intervals) for user-defined routes. You define routes with the Roads Selection API, and the data is delivered as accumulated BigQuery tables through Analytics Hub (Foundations package) and, with the Real-Time Operations package, as near-real-time Pub/Sub streams.
Roads Management Insights: key facts
- Product: Roads Management Insights
- Also known as: RMI
- Category: Analytics
- Platform: Dataset
- Launch stage: GA
- Lifecycle: Active
- Overview: Roads Management Insights overview
Roads Management Insights: when to use it
Use Roads Management Insights when:
- You manage a public road network or utility and need historical trip duration and congestion data for specific routes in BigQuery.
- You need near-real-time speed reading intervals and travel durations for monitored routes delivered through Pub/Sub for live operations.
- You need to find high-risk road segments, analyze traffic patterns, or measure the effect of road interventions in your jurisdiction.
Don't use Roads Management Insights when:
- You need routes or ETAs for end users in a consumer app, not monitoring of fixed road segments. Use Routes API instead.
- You need to snap GPS points to roads or get speed limits for individual road segments. Use Roads API instead.
- You aren't a public sector entity or infrastructure manager, or the roads are outside the territory you manage.
Roads Management Insights: setup
- Service to enable:
roads.googleapis.com - Authentication: OAuth 2.0, Service account (API keys, including Maps Demo Keys, aren't supported)
- Get started: Set up Roads Management Insights
- Reference: Roads Management Insights reference
- Policies: Roads Management Insights policies
- Release notes: Roads Management Insights release notes
Roads Management Insights: common mistakes
- Problem: Routes on low-traffic roads fail the road utility check (
VALIDATION_ERROR_LOW_ROAD_USAGE) at creation, or after four consecutive low-traffic quarterly evaluations, and getSTATE_INVALID. Pub/Sub updates stop for these routes, though available data still goes to BigQuery. Fix: Delete the route and re-create it on higher-traffic roads, or include intersections in segments on less busy roads (see the usage guidelines). Check thestatefield with thegetendpoint, or check theroutes_statustable. See /maps/documentation/roads-management-insights/roads-selection/validation. - Problem: A route that is partly or fully outside your defined jurisdiction is marked invalid and no data is retrieved for it. Fix: Keep route coordinates inside your managed jurisdiction, or request an approved adjacent-area buffer. See /maps/documentation/roads-management-insights/guidelines.
- Problem: No historical data exists for a route before you submit it. Data collection starts only after the route is created. Fix: Create routes early and allow time for history to accumulate before you analyze it. See /maps/documentation/roads-management-insights/guidelines.
- Problem: Requests without the
X-Goog-User-Projectheader fail when you use user OAuth credentials. The header sets the billing and quota project. Fix: Send theX-Goog-User-Projectheader and an OAuth bearer token with thecloud-platformscope. You can omit the header only when you authenticate with a service account. See /maps/documentation/roads-management-insights/roads-selection/request. - Problem: The setup and IAM role docs say to enable the "Roads Selection API" on your project, which is served by the Roads API service (
roads.googleapis.com, titled "Roads API" in the Cloud Console API Library). Fix: Enable the Roads API service (gcloud services enable roads.googleapis.com), and grantroles/roads.roadsSelectionAdminorroles/roads.roadsSelectionVieweralong withserviceusage.services.use(or project Owner/Editor). See /maps/documentation/roads-management-insights/configure-roles. - Problem: Routes with zero length or a computed driving distance over 100 km fail immediately with
INVALID_ARGUMENT, and very short routes (~100 m) without intersections on moderate- or lower-traffic roads can fail withVALIDATION_ERROR_LOW_ROAD_USAGE. Fix: Keep computed route length above zero and at most 100 km. On moderate- or lower-traffic roads, extend short segments to include intersections, use fixed routes with an intermediate waypoint, and verifySTATE_RUNNING. See /maps/documentation/roads-management-insights/roads-selection/create#route-length.
Roads Management Insights: legacy and deprecated features
speed_reading_intervalsfield (Pub/Sub messages andrecent_roads_datatable): Deprecated since 2026-10-08. Replacement:speed_reading_offsetsfield. Symptom: The field might stop being populated on or after 2027-01-13, and legacy intervals never reportTRAFFIC_JAM_HEAVY. See the migration guide.retrieval_timefield (real-time Pub/Sub messages): Deprecated since 2026-10-08. Replacement:retrieval_timestampfield (RFC 3339 string). Symptom: The field might stop being populated on or after 2027-01-13. See the migration guide.- Nested
travel_durationfield (real-time Pub/Sub messages): Deprecated since 2026-10-08. Replacement:duration_in_secondsandstatic_duration_in_secondsfields. Symptom: The field might stop being populated on or after 2027-01-13. See the migration guide.
What you can do with Roads Management Insights
See the guides linked below for each task, or compare across products in the Capabilities Explorer.
- Register and manage monitored road routes within a defined jurisdiction.
- Query historical road travel durations in BigQuery.
- Inspect monitored route validation status and route geometry metadata in BigQuery.
- Stream near-real-time route travel durations and speed reading intervals over Pub/Sub. Note: Requires the Real-Time Operations package.