I'm trying to find out how long it would take to travel by car from each of the Lower Layer Super Output Areas (LSOA) in Norfolk, England to the nearest Hospital (or just what the distance is and I can estimate drive time, if the former is too difficult/impossible!).

Any suggestions how I can do that using QGIS, OSM road data and/or Ordnance Survey Meridian 2 road data, population weighted centroids for each of the 2011 Census LSOA areas and hospital locations?

I have all of the above in QGIS (see image below).

There are 537 LSOA and four hospitals in total. Is there a way to work out the time taken and/or distance to travel without having to do it one by one?

enter image description here


2 Answers 2


You can call our RW Net 4 library from python. We have a working sample, that does something quite similar to what you describe above and it can also use Meridian 2, which we also offer in a free and improved version. The sample uses QGIS and Python.NET for the operations.


I saw a presentation (PDF) at GISRUK'13 that made use of Routino to solve a similar problem. It makes use of the OpenStreetMap road network but I think you should be able to change that if you install it locally. But for your size of problem you could probably script the solution using the web api.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.