Origin-Destination Flows

Standard betweenness treats every origin-destination pair as equally important. Origin-destination flow analysis weights the movement instead, so streets carrying more actual travel receive higher scores. The Origin-Destination Flows guide explains the challenge and the two methods cityseer provides: routing an explicit OD matrix, or modelling demand from weighted origins and destinations with a singly-constrained spatial interaction model.

NotebookDescription
demand_flowsModelled demand flows: a singly-constrained spatial interaction model from population origins to hospitality destinations, with a distance-decay deterrence function.
explicit_odRouting an explicit origin-destination matrix with build_od_matrix and betweenness_od, and how two different demand patterns reshape the flows on the same network.
flows_vs_betweennessComparing demand-weighted flow against the uniform betweenness baseline on the same network.