API Reference¶
This section contains the complete API reference for the city2graph package.
City2Graph provides a comprehensive toolkit for constructing graphs from geospatial datasets, enabling network analysis and graph neural network applications on urban data.
Modules¶
| Module | Description |
|---|---|
| Data | Loading and processing geospatial data from sources like Overture Maps |
| Graph | Converting between GeoDataFrames, NetworkX, and PyTorch Geometric |
| Mobility | Processing OD matrices and mobility networks |
| Morphology | Creating morphological graphs from urban fabric data |
| Proximity | Generating proximity-based graph networks |
| Transportation | Processing GTFS data and transportation networks |
| Utils | Core utilities for graph conversion and validation |