Skip to content
Richard Kapustynskyj

Tag: roads

Building Bridges using Python

by RichardPythonPosted on October 29, 2022December 7, 2022No Comments

In a previous post I used NetworkX functions to convert a shapefile into a graph network for use in spatial smoothing. But there is a problem! Rivers and seas were un-crossable voids. I don’t really want to swim across the rivers, particularly the Thames, but luckily for us there are bridges across rivers and ferries …

Read more “Building Bridges using Python”

Network Analysis in Python

by RichardPython, UncategorizedPosted on August 7, 2022August 12, 2022No Comments

Maps are all well and good, but do you know what’s better. Graphs! I’m not talking about pie charts or even bar charts I mean the ones with edges and vertices (also known as networks). In this post, and this code, I’m going to convert a geodataframe of A-roads around St Pauls into a graph …

Read more “Network Analysis in Python”

Copyright © 2025 Richard Kapustynskyj Inspiro Theme by WPZOOM