FlowsBook a callSign inCreate free accountSign up
Population and demographics

Mobile library route planning: choosing stops by who lives there, then the week's order

Mobile library route planning in two steps: pick stops where many children and older residents live far from a branch, then put each day's stops in a sensible driving order.

Part of the guide Location intelligence automation

By the xMap team · · 6 min read

Good mobile library route planning happens in two steps. First, choose the stops: places such as village halls, schools and supermarket car parks where many children or older residents live within walking distance and no library branch is close. Second, order them: share the chosen stops between the days of the week and put each day's stops in a driving order that wastes as little time on the road as possible. The first step decides who the service reaches; the second decides how many stops fit in a day.

This is for library service managers, outreach librarians and the council officers who plan a bookmobile or a mobile library van across a rural district or the edges of a city. It covers the population figures to compare, how to rule out stops already served by a branch, a made-up week in the countryside around Ottawa, the planning errors that leave the van half empty, and a flow that redoes the plan each term.

Step one: who lives around each possible stop

Start with a list of places the van could park safely: village halls, primary schools, community centres, retirement homes, supermarket car parks and church halls. Twenty to sixty candidates is a normal list for a district. Give each one a position and put them in a table.

The Demographics block then counts who lives within a chosen distance of each candidate, say 1 km for a village and 500 m in a suburb. It gives the residents in nine age groups and in three wider bands: children aged 0 to 19, adults aged 20 to 59 and people aged 60 and over, with their shares. Those two ends matter most for a mobile library. Children borrow picture books and need a stop near school; older readers borrow large print and audiobooks and may not drive to a branch.

Ruling out stops a branch already serves

A stop 800 metres from a branch library adds little. Run Nearby places for Public library and Library around each candidate, passing on each candidate with a count, and keep the ones with none within, say, 3 km. In the same pass you can count primary schools and retirement homes nearby, which hints at when to come: after school for one, mid-morning for the other.

Then compare the candidates on the figures that match the service's aims. A service focused on early reading ranks by children aged 0 to 19; one focused on isolated older readers ranks by people aged 60 and over and their share. Most services weigh both and set a minimum, such as at least 300 residents in one of the two groups, below which a stop is not worth the van's time.

Step two: putting the week in order

With twenty stops chosen, the next question is which day each one gets and in what order. Group the stops into days by area, so the van works one part of the district each day, and give each stop a day in its table. Schools want a fixed afternoon; retirement homes often prefer mornings. Those constraints decide the days; the order within a day can be left to the planner.

The Route planner block puts the stops of each day in the best order from the library depot, one route for each value of a field such as day. Every stop gets its place in the route, the distance and minutes from the stop before, the route's totals and a directions link for the driver. Set it to come back to the depot so the day's totals include the drive home.

A made-up week near Ottawa

Say an imaginary county library has one van, a depot in a small town and 34 candidate stops in villages around Ottawa. Every figure here is invented. After the population check, 14 candidates have fewer than 300 children or older residents within 1 km and drop out; 4 more are within 3 km of a branch. That leaves 16 stops for four days a week.

DayStopsChildren 0 to 19 near the stopsPeople 60 and over near the stopsDriving time
Monday (north)41,9001,1002 h 10 min
Tuesday (east)41,3001,6001 h 50 min
Wednesday (south)52,4009002 h 40 min
Thursday (west)38001,4001 h 30 min

Made-up figures for an imaginary county, showing how a week of stops reads after both steps.

Wednesday has the most children and the longest drive, so the school stops go after lunch and the stop order puts them last. Thursday is short, which leaves room to add a retirement home that just opened. A plan like this goes to the outreach team as a table and a map, and each driver gets the directions link for their day.

Planning errors that leave the van half empty

  • Choosing stops by habit. A stop kept because it has always been there can sit in a village whose children have grown up. Check the figures every year.
  • Total population instead of the groups you serve. A busy commuter village may have few children at home in school hours and few older residents.
  • Ignoring the timing. A school stop at 10 am finds the children in class. Match the day and hour to who you want to meet.
  • Too many stops in one day. A stop needs time to open, lend and pack up. A planner that minimises driving still needs you to cap the stops per day.
  • Forgetting the branches. A new branch or a library in a community centre can make a stop unnecessary. Re-check the nearby libraries each term.

Redoing the plan each term with an AI employee

A plan that is checked once and kept for years drifts away from the people it was meant to serve. An AI employee can redo both steps at the start of each term, and the same pattern is described in the guide to location intelligence automation. The template Villages with no health centre nearby follows the first step for a mobile clinic and is easy to adapt; the blocks for a library are:

  1. Schedule: once a term, a few weeks before the timetable is printed.
  2. My data: your candidate stops, with position, kind of place and the day each one is assigned.
  3. Demographics: residents within 1 km of each stop, with children and people aged 60 and over.
  4. Nearby places: Public library and Library within 3 km, passing on each stop with a count.
  5. Filter: no library nearby, and at least 300 children or older residents.
  6. Route planner: from the depot, one route for each day, back to the depot.
  7. xMap LLM, on the whole list: a short note on what changed since last term and why.
  8. Email to the outreach team, with Show on a map, or a row per stop in Google Sheets.

What lands in the inbox each term is the list of stops that still earn their place, the ones that dropped out and why, each day's order with driving times and directions links, and a map. A library service that also wants to see which districts have no branch at all can read library catchment population.

Questions

How do I choose where a mobile library should stop?

Compare candidate stops on how many children and older residents live within walking distance, and leave out those already close to a branch. Then group the stops into days by area.

Can it plan the order of stops for each day?

Yes. Route planner orders the stops from your depot, one route for each day given in a field, with the distance and minutes of each leg and a directions link for the driver.

Does it work in the United Kingdom or the United States?

The route ordering and the library check work there. The population figures do not cover those two countries yet, so upload your own census table to My data and join it to the stops.

How often should the stops be reviewed?

Once a term or once a year is common. Populations change slowly, but new branches, closed schools and new retirement homes can change which stops are worth keeping.

Templates that do this

Read next

More on population and demographics · Every article · Templates

Put it to work

An AI employee in xMap Flows does this on live data, on its own timetable. Start from a template or describe it in plain words.