Roadworks scheduling with traffic data: finding the quietest hours
How road contractors log live speeds on a stretch for two weeks, find the hours it flows freely, and plan lane closures without trusting a one-day survey.
Part of the guide Location intelligence automation
Roadworks scheduling with traffic data starts with a simple habit: measure the speed on the exact stretch you will close, at every hour you might work, for at least two full weeks. Hours when traffic holds close to its free speed are your candidates for a lane closure, and hours when it already slows are the ones to avoid. The result is a working window you can defend to the highway authority and to the people who live along the road.
This article is for planners and site managers at surfacing, utility and civil engineering contractors. It covers what live speed readings can and cannot prove, how to build a simple hour-by-day picture, and how to keep checking the road once the job is under way.
What speed readings tell a contractor
The Traffic Flow block reads the roads around a point at the moment a flow runs. For each point it returns the current speed, the speed on those roads when they are clear, a jam factor from 0 (free) to 10 (standstill or closed), congestion as a percentage, how many road stretches were measured, how many are closed and how sure the measurement is.
One reading is a snapshot. Taken every hour and saved, those snapshots become a profile of how that road behaves through the week, which is what a programme needs.
There is one exception on volumes. For roads in the United Arab Emirates, the Regional data block holds road traffic history: cars counted and their speed, hour by hour, since January 2021. A contractor in Dubai or Abu Dhabi can read last year's pattern on the actual road, including the weeks around Ramadan, instead of waiting two weeks to collect it.
A worked example: resurfacing in Cape Town
Picture a contractor asked to resurface 1.5 km of a suburban arterial in Cape Town, one lane at a time. The client wants the shortest programme; the city wants no queues back to the junction at the school end. The figures here are invented to show how the reading works.
The planner drops five points along the job, about 350 metres apart, and logs them every hour from 05:00 to 23:00 for 14 days. Spacing matters: points within 300 metres of each other share one search, so closer points would add nothing. Averaging the readings by hour and weekday gives a table like this.
| Hour | Mon to Thu speed (km/h) | Mon to Thu jam factor | Saturday jam factor |
|---|---|---|---|
| 06:00 | 52 | 1.1 | 0.3 |
| 08:00 | 19 | 6.8 | 1.4 |
| 10:30 | 44 | 2.3 | 3.9 |
| 16:30 | 23 | 5.9 | 2.8 |
| 21:00 | 55 | 0.6 | 1.2 |
A made-up profile for one stretch, with a free speed of about 58 km/h. Real figures come from your own two weeks of readings.
Three things jump out. Weekday mornings and late afternoons are out. The gap around 10:30 looks usable on weekdays, but Saturday at that hour is busier, probably because of shoppers, so a Saturday day shift is a poorer bet than it first appears. And 21:00 onward is clearly free, which points to night work if noise conditions allow it.
The planner proposes night shifts for the section beside the houses only where the permit allows, and weekday 09:30 to 15:00 single-lane working on the commercial end, with a stop-work rule if the queue reaches the junction.
Setting it up as an AI employee
You do not need anyone to pull these readings by hand. A small flow in xMap Flows does it, in the spirit of AI employees for field operations.
- Put your points in a table on My data: a name such as Chainage 0+350, with latitude and longitude.
- Schedule: every hour, between the hours you might work, on all seven days.
- My data: bring in the table of points.
- Traffic Flow: Roads set to Adjacent roads, so a parallel side street does not water down the figure.
- Google Sheets: add a row per point with the time, speed, free speed, jam factor, roads closed and confidence.
- After two weeks, a pivot table in the sheet gives you speed and jam factor by hour and weekday.
Once work starts, a second flow earns its keep. Traffic incidents lists closures and roadworks around your site, so you learn that a utility crew has closed the parallel route before your diversion fills up. The template Roadworks and closures near my projects does this, and Morning site briefing adds the weather, which matters for surfacing and line marking that cannot go down in rain.
Mistakes that spoil a traffic programme
- Surveying during school holidays. A quiet fortnight in the break can make a school-run road look harmless. Log during a normal term, or take a second sample.
- Measuring while another job is on. If a nearby closure is pushing cars onto or away from your road, your baseline is wrong. Throw out readings where roads closed is above zero, and check incidents for the period.
- Watching the site and not the diversion. Log the route traffic will take when you close a lane. It is often the side road with the school on it that fails first.
- Averaging the whole week. Friday afternoons and Sunday evenings behave differently from a Tuesday. Keep each day separate until you know they match.
- Trusting thin night readings. With few vehicles on the road, confidence drops. Check that field before drawing conclusions about 03:00.
- Planning around traffic alone. Permit conditions, noise limits, bus routes and access for residents and businesses can overrule the quietest hour.
Telling people when it will happen
A good window is only half the job. Residents and shops along the road want to know what is coming. Once your dates are fixed, Nearby places can list the businesses along the stretch, so your liaison officer has a list of who to visit or write to before the cones go out.
Questions
How long should I measure traffic before planning roadworks?
At least two full weeks in a normal period, so every weekday is seen twice. Avoid school holidays and weeks with another closure nearby.
Can this tell me how many cars use the road?
Not with Traffic Flow, which gives speeds and a jam factor. Hourly car counts are available only for roads in the United Arab Emirates, through Regional data; elsewhere use the road authority's counts or a temporary counter.
What jam factor is safe for a lane closure?
There is no universal number, because it depends on how much traffic the road carries. A low jam factor is a good sign, but confirm volumes and capacity before closing a lane.
Can I be warned about other works near my site?
Yes. A flow with Traffic incidents on a schedule can email or message you when a closure or roadworks appears around your points.