City2Graph library turns geospatial data into spatial graphs

tom_doerr · x · 2026-08-18

City2Graph is a Python library that converts buildings, streets, public transport feeds, and points of interest into spatial and heterogeneous graphs. It bridges GeoPandas, NetworkX, and PyTorch Geometric to support network analysis, urban research, and Graph Neural Networks (GNNs).

Original post →

More from Infra

Infra channel →