GeoAI Export

The GeoAI Export panel exports a graph for graph-neural-network training and provides a ready-to-use PyTorch Geometric loader script.

Graph Export for GNN

Control Description
Format JSON (node-link format, recommended for PyG) or GraphML (standard XML).
Type Homogeneous (single node/edge type) or Heterogeneous (multiple node/edge types).
Export Path Destination file path.
Export Graph Select the graph object and export it.

PyTorch Geometric

Control Description
Save Loader Script Writes an external Python script that reconstructs the exported graph as a PyG Data/HeteroData structure.
Tip

Export as JSON + Heterogeneous for city2graph multi-type graphs (buildings, segments, amenities). The saved loader script reads that file back into PyG without manual wiring.

Step-by-step tutorial

For a worked example using Burjassot, follow Export for GeoAI.

Back to top