Roads Management Insights quick reference

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

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 get STATE_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 the state field with the get endpoint, or check the routes_status table. 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-Project header fail when you use user OAuth credentials. The header sets the billing and quota project. Fix: Send the X-Goog-User-Project header and an OAuth bearer token with the cloud-platform scope. 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 grant roles/roads.roadsSelectionAdmin or roles/roads.roadsSelectionViewer along with serviceusage.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 with VALIDATION_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 verify STATE_RUNNING. See /maps/documentation/roads-management-insights/roads-selection/create#route-length.

Roads Management Insights: legacy and deprecated features

  • speed_reading_intervals field (Pub/Sub messages and recent_roads_data table): Deprecated since 2026-10-08. Replacement: speed_reading_offsets field. Symptom: The field might stop being populated on or after 2027-01-13, and legacy intervals never report TRAFFIC_JAM_HEAVY. See the migration guide.
  • retrieval_time field (real-time Pub/Sub messages): Deprecated since 2026-10-08. Replacement: retrieval_timestamp field (RFC 3339 string). Symptom: The field might stop being populated on or after 2027-01-13. See the migration guide.
  • Nested travel_duration field (real-time Pub/Sub messages): Deprecated since 2026-10-08. Replacement: duration_in_seconds and static_duration_in_seconds fields. 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.