City2Graph: open-source GeoAI library turns urban geospatial data into graphs for GNNs

adnan_hashmi · x · 2026-11-19

City2Graph (2k GitHub stars) transforms geospatial relations into graphs for graph neural networks and spatial network analysis. It builds morphology, transportation, mobility, and proximity graph layers from OpenStreetMap, Overture Maps, GTFS, OD matrices, POIs, and boundaries, then exports heterogeneous graphs that plug into GeoPandas, NetworkX, and PyTorch Geometric for spatial analysis, urban computing, and GeoAI. BSD-3 licensed.

Original post →

More from Research

Research channel →