| City | Type | Cells | Share (%) | Green (%) | Contiguity | ENN | FWEI change | Flood share | Flood patches | Flood clumpiness | Elevation | Slope |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Delft | Type 1 | 2074 | 20.7 | 6.7 | 0.214 | 21.6 | -0.057 | 0.001 | 0.15 | 0.596 | -2.58 | 0.204 |
| Delft | Type 2 | 6678 | 66.8 | 19.3 | 0.287 | 17.6 | 0.017 | 0.235 | 2.42 | 0.810 | -2.00 | 0.264 |
| Delft | Type 3 | 59 | 0.6 | 37.9 | 0.547 | 24.3 | 0.013 | 0.186 | 4.98 | 0.693 | -0.49 | 1.576 |
| Delft | Type 4 | 1189 | 11.9 | 75.6 | 0.747 | 13.3 | 0.039 | 0.495 | 2.02 | 0.817 | -1.52 | 0.587 |
| Xi’an | Type 1 | 1303 | 13.0 | 19.4 | 0.552 | 23.0 | -0.008 | 0.001 | 0.25 | 0.405 | 393.49 | 0.466 |
| Xi’an | Type 2 | 98 | 1.0 | 0.1 | 0.036 | 15.6 | 0.027 | 0.203 | 1.24 | 0.910 | 395.98 | 0.213 |
| Xi’an | Type 3 | 7183 | 71.8 | 20.8 | 0.537 | 23.9 | 0.024 | 0.154 | 3.47 | 0.727 | 400.37 | 0.545 |
| Xi’an | Type 4 | 1416 | 14.2 | 73.1 | 0.847 | 15.9 | 0.036 | 0.353 | 2.46 | 0.781 | 396.48 | 0.763 |
5 Typology construction
This chapter explains how the combined typologies were constructed and how the four final types were defined.
5.1 Purpose of the typology
The typology construction was used to group grid cells with similar combined spatial conditions. Instead of analysing each metric separately, K means clustering was used to combine the selected metrics into four broader spatial types.
The earlier green only typologies were useful for understanding green space structure, but they did not combine the green, flood, and topographic dimensions of the research question. Therefore, the final typology was based on the selected non redundant green, FWEI derived flood, and DEM metrics.
The final green+flood+DEM typology used the following variables:
| Metric group | Metrics used | Meaning |
|---|---|---|
| Green-space configuration | green_percent, contig, enn |
Amount, compactness, and isolation of green space. |
| FWEI-derived flood pattern | fwei_change_mean, flood_share, np_flood, flood_clumpy |
Magnitude, extent, fragmentation, and clustering of detected surface-water increase. |
| DEM context | elevation_mean, slope_mean |
Average elevation and terrain steepness. |
A green+flood typology was first created as an intermediate check. However, the green+flood+DEM typology was selected as the final typology because it also includes topographic context. This is relevant because surface water accumulation may be influenced by elevation and slope, not only by green space configuration.
5.2 Clustering method
K-means clustering was used to classify the grid cells into four types. The clustering was shared across Delft and Xi’an, meaning that the two cities were classified using the same type definitions. This makes the typologies directly comparable between the two study areas.
Before clustering, all input variables were standardised. This was necessary because the metrics have different units and numerical ranges. Without standardisation, variables with larger values could dominate the clustering result.
The number of clusters was set to four. The elbow plot was used as a basic check, and four clusters were selected because this produced a manageable number of interpretable spatial types.
5.3 Final typology overview
The final shared green+flood+DEM typology produced four types. These types were not named automatically by the K-means algorithm. They were interpreted afterwards using their average green, flood, and DEM values.
| Type | Suggested name | Main character |
|---|---|---|
| Type 1 | Low-water / low-flood background | Low detected surface-water increase and limited flood-pattern activity. |
| Type 2 | Moderate urban background | Moderate green coverage and moderate flood-related values. |
| Type 3 | Green high-water type | High green coverage, high contiguity, and the strongest detected surface-water values. |
| Type 4 | Fragmented flood-patch type | Many detected flood patches, with more fragmented surface-water patterns. |
5.4 Delft typology
The green+flood+DEM typology was made for Delft to show how the shared typology classes are distributed across the study area. The map is mainly used here to show the spatial output of the clustering process.
The Delft typology map shows a spatially mixed pattern. The large Type 2 background covers most of the built-up core. Type 3, the type with the highest green coverage and highest flood share, appears in parks, water adjacent open land, and lower lying green zones. Type 1 is concentrated in denser built up areas. Type 4 is scattered and rare.
5.5 Xi’an typology
The green+flood+DEM typology was also made for Xi’an using the same method.
The Xi’an map shows a different typology structure from Delft, with one type covering a larger part of the study area. The narrow Type 1 band along the northern edge of the Xi’an map is a preprocessing artefact caused by a grid alignment issue. It is therefore not interpreted as a meaningful typology zone. The cause of this mismatch issue is discussed in more detail further in the discussion chapter.
5.6 Comparison of typology structure
The shared typology allows Delft and Xi’an to be compared using the same four type definitions. The typology maps show that the two cities have different spatial structures. Delft has a more mixed distribution of types, while Xi’an is more strongly dominated by one type.
The detailed interpretation of these differences, including which typology classes are most relevant for nature based solutions in Delft and Xi’an, is also presented in the next chapter.


