City2Graph: A Python library for Heterogeneous Graph Neural Networks and spatial analysis in urban systems [R]
![City2Graph: A Python library for Heterogeneous Graph Neural Networks and spatial analysis in urban systems [R]](/_next/image?url=https%3A%2F%2Fpreview.redd.it%2F4vi2d3zjt4jh1.png%3Fwidth%3D140%26height%3D75%26auto%3Dwebp%26s%3D449a7301e08aaa1e20ce77f1b29141f588abf034&w=3840&q=75)
| City2Graph is a Python library I built that turns geospatial data into analysis-ready graphs, and the paper describing it has just been published, so I wanted to share it here. What it covers:
It sets out why urban data is better treated as heterogeneous graphs than as flat feature tables, how the morphological, transport, mobility, and proximity constructions relate to each other, and how the library keeps geometry and graph structure consistent across conversions. If you use the library in research, that is the citation. Paper Sato, Y., Pietrostefani, E., Mahabir, R., & Arribas-Bel, D. (2026). City2Graph: A Python library for Heterogeneous Graph Neural Networks and spatial analysis in urban systems. Computers, Environment and Urban Systems, 130, 102492. Happy to answer questions about the design, and issues or PRs are very welcome. I am especially keen to hear which data sources people want supported next. [link] [comments] |
Want to read more?
Check out the full article on the original site