City2Graph · Build a morphological graph

Tessellate Burjassot’s building footprints and build the morphological graph linking private (buildings) and public (streets) space. Mirrors the Urban Morphology panel.

Needs two inputs, both projected to a metric CRS: a buildings object (Import urban data) and a street network object (OSMnx Download tutorial).

1. Convert segments to a graph

Segments to Graph turns the street network into the segment graph the morphological graph builds on.

Converting street segments to a graph.

2. Generate the tessellation

Shrink (default 0.4) and Segment Length (default 0.5) control how the space around buildings is carved into morphological cells.

Morphological tessellation around the buildings.

3. Build the morphological graph

Center comes from the active OSMnx object, or enter Lat/Lon manually. Distance sets the study radius and Clipping Buffer a margin around it. Contiguity picks Queen or Rook adjacency. The private↔︎private, public↔︎public and private↔︎public toggles decide which relation families end up in the result, a heterogeneous graph of building and street nodes.

The morphological graph linking buildings and streets.

Next steps

Build proximity graphs: spatial networks over point features.

Back to top