City2Graph · Build proximity graphs

Build spatial proximity networks over Burjassot amenities: single-layer graphs (KNN, Delaunay, radius…), multi-layer graphs that bridge feature types, and group-node graphs that link zones to the points they contain.

This walkthrough mirrors the Proximity Graphs panel.

Before you begin

Create a point feature object — download amenities as points in Import urban data (Get as Points), or convert footprints with Convert to Centroids.

1. Single-layer graph

Expand Single-Layer Graphs and set:

  • Features — the amenities object.
  • Graph Type — start with K-Nearest Neighbors and K = 5.
  • Distance MetricEuclidean (or Network with a street Network object).

Press Generate Graph.

A KNN proximity graph over Burjassot amenities.

Try other graph types

Switch the Graph Type to explore Delaunay, Fixed Radius (set Radius), Waxman (set Beta/R0/Seed), Gabriel, Relative Neighborhood, EMST or Contiguity (set Queen/Rook).

The Graph Type dropdown with all topology options.

2. Multi-layer bridge graph

Expand Multi-Layer Graphs, assign Layer 1 and Layer 2 (e.g. amenities and shops), pick a Method (KNN or Fixed Radius) and press Generate Multi-Layer Graph to connect across layers.

A multi-layer graph bridging two feature types.

3. Group nodes (zones ▸ points)

Expand Group Nodes, set Polygons (zones) and Points, choose a Predicate (Covered By, Within, Intersects) and press Generate Group Nodes to link each point to its containing zone.

Connecting points to the zones that contain them.

4. Tune deduplication and visualization

In Advanced Settings, enable Deduplicate Points and set the Dedup Tolerance when OSM ways imported as many vertices. In Visualization, adjust Edge Thickness and the Visualize Limit for dense graphs.

Advanced and visualization controls.

Next steps

Continue with Analyze metapaths to connect amenities through the street network.

Back to top