Introduction
What is Traffic Stats Batch?
Traffic Stats Batch is a file-based delivery option for the Traffic Stats product. It provides the same core traffic speed statistics as Traffic Stats via the Move Portal, delivered in a way that is optimized for large geographic areas and long time periods.
The fundamental unit of analysis in Traffic Stats Batch is a road segment (dsegId)
aggregated over a one-hour interval. Each record represents traffic speed statistics
observed on a single road segment during a specific hour.
Traffic Stats Batch does not provide raw probe data or sub-hourly statistics; all metrics are delivered as hourly aggregates optimized for bulk analysis.
Differences between Batch and API relate to delivery method, spatial resolution, and access pattern, rather than the definition of the traffic metrics themselves.
When to use Traffic Stats Batch
Batch delivery is a good fit for:
- One-off historical data dumps (e.g., whole USA for year 2025)
- Daily repeated updates at scale (e.g., whole UK updated daily)
Use Traffic Stats Batch when you need:
- Large coverage areas (state or country level)
- Long time ranges (multi-month or 1+ year)
- Historical data dumps
- Daily repeated updates at scale
- Bulk ingestion into analytics or data pipelines
- To avoid API traffic overload
Do not use Batch when you need small or very precise geographic areas. Batch uses Morton tiles at level 8, which sets a minimum deliverable area; for smaller areas, use Traffic Stats via API.
Traffic Stats API vs Traffic Stats Batch
Topic | Traffic Stats API | Traffic Stats Batch |
|---|---|---|
| Delivery | On-demand API | File-based (bulk) |
| Typical use | Interactive queries, applications | Analytics, reporting, pipelines |
| Geographic scope | Fine-grained | Fixed level-8 Morton tiles |
| Time range | Short or rolling | Months or years |
| Access pattern | Per request | Bulk download |
In short:
- Use the API for flexible, targeted access.
- Use Batch for efficient delivery of large volumes of data.
Typical analysis use cases
Traffic Stats Batch is well-suited for:
- Network-wide speed and congestion analysis
- Long-term trend analysis and seasonal comparisons
- Segment-level performance monitoring
- Model training and validation using historical traffic patterns
- Aggregation to custom regions using road geometry
What customers receive
Customers receive two file types, both in Avro format. The delivered Avro files are gzip-compressed (gzip-wrapped).
- Road Network Schema (Avro) - Contains the information needed to map match the data to the customer's road network (e.g., Orbis, OSM, or using Geometry).
- Traffic Stats Data File (Avro) - Contains the actual traffic stats output data, per segment.
The field dsegId is the common identifier that links Traffic Stats data to the correct
road segment / map location.
Data characteristics
- Traffic data is aggregated in 1-hour intervals.
- Only intervals with observed traffic are included (empty intervals are omitted).
- All speed values are provided in meters per hour.