A function to do assigning of route lengths to a network topology -
re-calculates each time, just using OGR Python functionality and the Python
math library to calculate distances on the ellipsoid.

Haven't yet tried performance for all bus routes, but looks like it will be
ok.