City2Graph: Open-Sourcing Python Library for Urban Heterogeneous GNNs
Tough_Ad_6598 · reddit · 2026-08-13
A developer released City2Graph, a Python library designed to transform geospatial data into analysis-ready graphs for applying Heterogeneous Graph Neural Networks (GNNs) in urban systems. The accompanying paper has also been published.
Key features of the library include:
- Morphology & Transport: Extracts building and street graphs from OpenStreetMap and aggregates GTFS feeds into transit graphs.
- Mobility & Proximity: Processes OD matrices and flow data, offering multiple spatial proximity constructions like KNN and Delaunay.
- Heterogeneous Graphs & Conversion: Supports various node/edge types and metapaths, enabling lossless round-trip conversions between GeoDataFrames, NetworkX, and PyTorch Geometric.
More from coding & agent
- Conclave Personal: open-source multi-agent verification tool assigns roles to LLMs for self-correction — HospitalSlight7930 · 2026-08-13
- Can LLMs Self-Correct? Conclave Uses Multi-Agent Roles to Verify Outputs — ProposalIntrepid8476 · 2026-08-13
- Building an Always-On Personal Agent with Obsidian and Hermes — hugobowne · 2026-08-13
- SkillZip: Contract-Preserving Graph Compression for Agent Skill Libraries — Xingyu Tan · 2026-08-13
- Human Edge in the Agentic Era: Delegate Pattern Matching, Keep Human Expertise — blaizedsouza · 2026-08-13
- Claude 3.5 Sonnet Excels at Frontend Design with Screenshot Iteration — iannuttall · 2026-08-13