Urban Activity Dynamics During the 2023 Turkey Earthquake#
In this case study, we apply our methodology to anonymized mobility data from Veraset to assess the impact of a major natural disaster on urban activity and mobility patterns. Understanding how populations use and move through urban areas during such shocks provides valuable insights for disaster response, infrastructure resilience, and emergency preparedness.
We focus on the 2023 Turkey-Syria earthquakes. On 6 February 2023, a sequence of high-magnitude seismic events caused widespread damage and disruption across the region. The first earthquake (Mw 7.8) struck southern Turkey in the early morning, followed by a second major event (Mw 7.5) later the same day. Due to data availability, the analysis focuses on the affected regions within Turkey.
Using the Urban Space Usage Index, we quantify deviations from typical activity patterns and examine how patterns of human presence are redistributed in response to a large-scale and unexpected shock.
1. Data#
1.1 Mobility Dataset#
The analysis is based on the Veraset Movement dataset, provided by Veraset as part of the Mobility Data collection from the Development Data Partnership. The dataset consists of anonymized mobile device location pings collected via a network of mobile applications and software development kits (SDKs). Each record includes geographic coordinates, a timestamp, and an anonymized device identifier. These data provide large-scale observations of human mobility, enabling the analysis of spatial and temporal patterns of urban activity.
1.2 Area of Interest (AOI)#
The analysis focuses on the 11 regions most affected by the earthquake, as identified in the official emergency report (ReliefWeb, 2023): Kahramanmaraş, Adıyaman, Kilis, Osmaniye, Gaziantep, Malatya, Şanlıurfa, Diyarbakır, Adana, Hatay, and Elazığ.
Figure 1 shows the study area, defined as the union of these regions using administrative boundary shapefiles from the Humanitarian Data Exchange (HDX). We spatially discretized the area of interest using the H3 Uber hierarchical indexing at resolution 8, corresponding to hexagonal cells of approximately 0.737 km². Each H3 cell (or hexagon) represents the spatial unit of the analysis.
Figure 1. Administrative boundaries of the 11 regions most affected by the 2023 Turkey-Syria earthquakes, used to define the area of interest (AOI). All mobility data are spatially clipped to this region and aggregated using the H3 hierarchical grid system.
1.3 Time window and study periods#
To capture mobility dynamics before, during, and after the earthquake (which occurred on 6 February 2023), we extract data for the period 2 January to 30 March 2023, spatially clipped to the study area. We define three analysis periods:
Baseline period: 2 January - 5 February
Event period: 6 February
Post-event period: 7 February - 10 March
The extracted dataset consists of approximately 13.8 million GPS points generated by 1.7 million unique users.
Figure 2. Spatial distribution of GPS observations, shown as the average number of records per H3 hexagon (resolution 8). Higher values represent a greater concentration of recorded activity. The color scale is log₁₀-transformed, with darker blue tones indicating areas with more observations. The locations of the two earthquake epicenters are highlighted with red concentric circles.
1.4 Preprocessing and filtering#
To ensure data quality and reduce noise, we apply a set of preprocessing steps. Users with very low daily activity (fewer than two recorded points per day) are excluded, as they do not provide reliable information on spatial behavior. As shown in Figure 3, increasing the minimum points-per-day threshold progressively removes low-activity users and reduces sharp spikes driven by users with only one or very few daily points, while preserving broadly consistent temporal trends across filtering levels.
In addition, H3 hexagons are retained only if they are consistently active throughout the observation period. Hexagons with insufficient activity are removed to avoid unstable estimates and inflated Z-scores. The final dataset consists of approximately 11 millions observations from 1,191,076 users covering 1,525 spatial units.
As observed in the data (and discussed in Exploratory Data Analysis and Quality Assessment - Turkey), mobility observations are spatially concentrated in major urban centers and along primary transportation corridors. For this reason, subsequent analyses (in particular those related to land use and functional characterization) will focus on these areas.
Figure 3. Daily number of active users retained under different minimum points-per-day thresholds (\(\geq\) 1,2,3,5, and 10 points). Increasing the threshold progressively removes low-activity users, reducing sharp spikes driven by users with only one or very few daily points, while preserving temporal trends.
2. Methods#
The analysis follows the methodological framework described in Methodological Framework and applied in the previous case study. In brief, we use the Urban Space Usage Index (\(I\)), defined as the share of unique users visiting each H3 hexagon. The number of unique users is used as a proxy for human presence, under the assumption that higher user counts correspond to greater spatial utilization.
To quantify deviations from typical conditions, we compute Z-scores, which measure how strongly observed activity deviates from baseline levels. Positive values indicate higher activity, while negative values indicate lower activity compared to baseline conditions.
3. Results#
3.1 Temporal evolution of urban activity#
The temporal evolution of the Urban Space Usage Index reveals a clear increase in activity on the day of the earthquake (6 February 2023) and in the following days (Figure 4).
Activity levels increase during the event and remain elevated in the following days before gradually returning toward baseline conditions. This pattern is consistent with the dynamics of an unexpected natural disaster, where increased activity is indicative of coordinated response and displacement.
Overall, the time series highlights a clear shift in urban activity during the event period compared to typical conditions, demonstrating the ability of the index to capture large-scale behavioral responses to sudden shocks.
Figure 4. Time series of the median Urban Space Usage Index (I) across all hexagonal cells in the area of interest, with the shaded area representing the interquartile range. The highlighted band marks the earthquake (6 February 2023), after which a clear increase in observed activity is observed.
3.2 Anomaly detection#
To assess whether observed changes correspond to statistically significant deviations from typical conditions, we use the Z-score, which measures how many standard deviations observed activity deviates from its baseline.
As shown in Figure 5, during the baseline period, Z-scores fluctuate around zero, indicating stable and expected conditions. On 6 February, the median Z-score exhibits a sharp increase (from -0.75 on 5 February to 1.36 on 6 February), marking the start of an extreme positive anomaly due to increased activity relative to normal conditions.
In the days following the earthquake, Z-scores continue to rise, reaching a median value close to 4 on 9 February, three days after the event. This lagged response is consistent with the progressive mobilization of emergency services, delayed evacuations, and ongoing humanitarian activities.
From approximately 13 February onward, Z-scores gradually decrease, approaching a new steady state that remains slightly above baseline levels, likely reflecting continued recovery operations, debris removal, and reconstruction activities.
The sharp increase in Z-scores coinciding with the earthquake strongly suggests that the observed disruptions in mobility are directly associated with the event.
Figure 5. Time series of the average Z-score of the Urban Space Usage Index across hexagons in the area of interest, with the shaded area representing the interquartile range. Horizontal dashed lines indicate anomaly thresholds. The highlighted band marks the earthquake (6 February 2023).
3.3 Spatial distribution of anomalies#
The spatial distribution of Z-scores on 6 February (Figure 6) reveals how the earthquake affects different parts of the region. As expected from the dataset characteristics, spatial coverage is sparse and concentrated in approximately 10 major urban centers, as well as along key transportation corridors.
Urban areas exhibit positive anomalies, reflecting the concentration of emergency response efforts, humanitarian assistance, and population movements. Similarly, major road networks show high levels of observed mobility, likely associated with evacuations, the movement of rescue teams, and the delivery of aid.
Figure 6. Map of the Z-score of the Urban Space Usage Index across H3 hexagonal cells in the area of interest on 6 February 2023. Warmer colors indicate higher-than-expected activity, highlighting spatial heterogeneity with stronger anomalies concentrated in urban areas and along major transportation corridors.
At the regional (province) level, the intensity of anomalies varies substantially. Hatay (Z = 4.25) and Adana (Z = 3.63) exhibit the strongest increases, indicating particularly intense mobility responses. Osmaniye (Z = 1.83), Kahramanmaraş (Z = 1.52), and Elazığ (Z = 1.33) also show notable positive anomalies, while regions such as Gaziantep, Kilis, and Diyarbakır display more moderate increases. By contrast, Adıyaman exhibits a negative anomaly (Z = -0.88), suggesting reduced observed activity. This may reflect severe local disruption, limited mobility, or data sparsity in the immediate aftermath of the earthquake. Figure 7 shows an interactive plot of the time series of Z-score for each region.
Hatay |
Adana |
Osmani̇ye |
Kahramanmaraş |
Elaziğ |
Ki̇li̇s |
Gazi̇antep |
Di̇yarbakir |
Malatya |
Şanliurfa |
Adiyaman |
|
|---|---|---|---|---|---|---|---|---|---|---|---|
Z-score |
4.25 |
3.63 |
1.83 |
1.52 |
1.33 |
1.23 |
1.21 |
0.91 |
0.89 |
0.79 |
-0.88 |
Notably, Hatay, the province with the highest Z-score, also records the highest number of deaths and injuries. However, the relationship between mobility anomalies and casualty severity is not systematic: Adıyaman and Adana represent opposite exceptions. This suggests that Z-scores capture not only direct damage, but also post-earthquake mobility dynamics, such as displacement, accessibility, and the use of Adana as a road corridor or support area.
Province |
Deaths* |
Injuries* |
|---|---|---|
Hatay |
24,147 |
30,762 |
Kahramanmaraş |
12,713 |
9,243 |
Adıyaman |
8,387 |
17,499 |
Gaziantep |
3,904 |
13,325 |
Malatya |
1,393 |
6,444 |
Osmaniye |
1,010 |
2,606 |
Adana |
454 |
7,450 |
Diyarbakır |
414 |
902 |
Şanlıurfa |
340 |
8,919 |
*Data from Wikipedia: 2023 Turkey-Syria earthquakes
Figure 7. Time series of the Z-score of the Urban Space Usage Index for each region in the area of interest. The highlighted band marks the earthquake (6 February 2023).
The interactive map in Figure 8 allows exploration of the full time series of Z-scores. Deviations from baseline conditions remain close to zero during the baseline period, increase sharply on the event day, and remain elevated for several days before gradually declining toward baseline levels.