Repository navigation
Network centrality
Accessibility indicators ask how well a location reaches destinations. Centrality measures ask how important a location is within the network itself — independently of what is located there. The two are related but not interchangeable: a motorway junction in an empty landscape is central but not accessible to much.
When an outgoing link of node
For a fully connected network this converges to a stationary Markov distribution that is independent of the starting state. That stationary distribution can be considered a measure of centrality for a connected set of nodes. It is the same construction that underlies PageRank.
If a network has
can be computed with a simple array lookup (index), a multiplication and a partitioned summation,
in
attribute<float64> link_probability (link) := 1.0 / float64(pcount(link_F1)); // P_ij
attribute<float64> node_probability_0 (node) := 1.0 / pcount(node);
attribute<float64> node_probability_1 (node) := sum(node_probability_0[link_F1] * link_probability, link_F2);
Applying the last line iteratively gives for_each:
unit<uint32> t: nrofrows = 100
{
attribute<string> name := 't' + string(id(t));
}
container iteration := for_each_nedv(t/name,
sum(' + MakeDefined(t/name[ID(iter)-1], 'node_probability_0') + '[link_F1] * link_probability, link_F2)'
, node
, float64);
For reference, the random-walk measure sits alongside the classical graph-theoretic ones:
- Degree centrality — number of connecting links; trivial to compute, weak as an indicator on road networks where degree is nearly constant.
- Betweenness centrality — the share of shortest paths passing through a node. Directly meaningful for traffic load, but expensive: it requires all-pairs shortest paths.
- Closeness centrality — the inverse of the mean shortest-path impedance to all other nodes. This is the measure closest to a location-based accessibility indicator with a uniform attraction.
Accessibility modelling documentation

Concepts
Networks
- Network data sources
- OSM
- NWB
- GTFS
- Building a routable network
- Network optimisation algorithm
- Travel speeds per mode
Origins & destinations
Computation
- Shortest path and the Dijkstra algorithm
- Origin Destination matrix (trip table)
- Isochrones and catchment areas
- Public transport routing
Indicators
Applications
Network models
Reference