Skip to main content
Ctrl+K
city2graph - GeoAI with Graph Neural Network (GNN) in Python city2graph - GeoAI with Graph Neural Network (GNN) in Python
  • Installation
  • Examples
  • API Reference
  • Contributing
  • GitHub
  • Installation
  • Examples
  • API Reference
  • Contributing
  • GitHub

Section Navigation

  • Graph
  • Morphology
  • Transportation
  • Proximity
  • Data
  • Utils
  • API Reference

API Reference#

This section provides detailed documentation for all modules and functions in the city2graph package.

  • Graph
    • gdf_to_pyg()
    • nx_to_pyg()
    • pyg_to_gdf()
    • pyg_to_nx()
    • is_torch_available()
    • validate_pyg()
  • Morphology
    • morphological_graph()
    • private_to_private_graph()
    • private_to_public_graph()
    • public_to_public_graph()
  • Transportation
    • load_gtfs()
    • get_od_pairs()
    • travel_summary_graph()
  • Proximity
    • knn_graph()
    • delaunay_graph()
    • gabriel_graph()
    • relative_neighborhood_graph()
    • euclidean_minimum_spanning_tree()
    • fixed_radius_graph()
    • waxman_graph()
    • bridge_nodes()
  • Data
    • load_overture_data()
    • process_overture_segments()
  • Utils
    • gdf_to_nx()
    • nx_to_gdf()
    • validate_gdf()
    • validate_nx()
    • segments_to_graph()
    • dual_graph()
    • filter_graph_by_distance()
    • create_tessellation()
    • create_isochrone()

previous

Generating Various Types of Graphs by Proximity

next

Graph

This Page

  • Show Source

© Copyright 2025, Yuta Sato & city2graph developers.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.