City2Graph · Build a morphological graph
Tessellate Burjassot’s building footprints, convert street segments to a graph, and build the morphological graph that links private (buildings) and public (streets) space.
This walkthrough mirrors the Urban Morphology panel.
Before you begin
Prepare two inputs:
- A buildings object — download Overture/OSM buildings in Import urban data.
- A street network object — download it in the OSMnx Download tutorial.
Both should be projected to a metric CRS.
1. Convert segments to a graph
In Urban Morphology, press Segments to Graph to turn the street network into a segment graph that the morphological graph builds on.

2. Generate the tessellation
Set Shrink (default 0.4) and Segment Length (default 0.5), then press Generate Tessellation. This carves the space around buildings into morphological cells.

3. Build the morphological graph
Set the parameters:
- Center — from the active OSMnx object, or enter Lat/Lon manually.
- Distance and Clipping Buffer — the study radius and a margin.
- Contiguity — Queen or Rook adjacency.
- The private↔︎private, public↔︎public and private↔︎public relation toggles.
Press Morphological Graph. The result is a heterogeneous graph of private (building) and public (street) nodes.

Next steps
Continue with Build proximity graphs for spatial networks over point features.