← all repositories

c2g-dev/city2graph

Python library for converting geospatial datasets into graph representations for use with Graph Neural Networks.

1.3k stars Python Data ToolingML Frameworks
city2graph
Velocity · 7d
+2.5
★ / day
Trend
steady
star history

City2Graph provides an integrated interface between GeoPandas, NetworkX, and PyTorch Geometric for constructing graphs from geospatial data. It processes various geospatial datasets including street networks, transportation, OD matrices, and POI proximities, enabling researchers to build graph representations that can be fed into Graph Neural Networks for GeoAI applications. The library focuses on urban and spatial domains.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.