Networks & Routing
Distance along the street, not across the rooftops.
Straight-line distance is a decent proxy until a river, a railway or a one-way system says otherwise — and then it is wrong in exactly the places the analysis is about. These guides build a routable street graph from OpenStreetMap, snap real addresses onto it, measure shortest paths by distance and by travel time, scale to thousands of origin-destination pairs, and cut travel-time isochrones — with the disconnected components and unit mix-ups that produce confidently wrong answers.
Start here
The cornerstone guide — the whole workflow end to end. Everything after it goes deeper into one part of it.
Step 1 Street Networks as Graphs Explained street network graph explained Begin the path →The full path, in order
11 guides: the concepts underneath the work, then each task, then the errors that task produces. Work down, or jump to the step you need.
- How to Build a Street Network Graph in Python with OSMnx street network graph python ⚙️ How-To
- Your Street Network Graph Is Disconnected or Missing Streets osmnx graph disconnected 🔧 Fix
- Network Distance vs Straight-Line Distance Explained network distance vs straight line 🧭 Concept
- How to Snap Points to a Street Network in Python snap points to network python ⚙️ How-To
- How to Calculate the Shortest Path Along a Street Network shortest path street network python ⚙️ How-To
- NetworkX Says No Path Exists Between Two Nodes networkx no path exists 🔧 Fix
- Street Network Routing Returns Absurd Distances routing wrong distance 🔧 Fix
- How to Measure Network Distance for Many Origin-Destination Pairs network distance matrix python ⚙️ How-To
- Isochrones Explained: Travel Time Areas and What They Assume isochrones explained 🧭 Concept
- How to Generate Isochrones in Python generate isochrones python ⚙️ How-To
Topics this path covers
A path is a route; a topic is everything the site has on a subject. Open a topic to see the guides this path skips.