City2Graph: Transform geospatial relations into graphs for GNNs

adnan_hashmi · x · 2026-08-22

City2Graph is a Python library that transforms 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).

Features:

Original post →

More from Research

Research channel →