c2g-dev/city2graph
Python library for converting geospatial datasets into graph representations for use with Graph Neural Networks.

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.