Overlaying building heights and footprints

data science
urban
london
buildings
raster
Author

Shrividya Ravi

Published

March 25, 2023

In the previous post, I quickly looked at two options for global building height rasters. The 90m grid from [1] looked more useful option the lower granularity provided more realistic values of real-world building heights. However, finding suitable data is only the first baby step. Figuring out how to calculate derived metrics like Floor Area Ratio (FAR) or population density per built area requires multiple datasets in different formats.

FAR can be associated with the raster cell (as an average) or the building polygon. To better understand the suitability of the latter approach, I visualise the overlay of the height raster with building polygons for City of London (full boundary) and a portion of Tower Hamlets - around the Canary Wharf area.

When preparing the data for the following maps, I learned a couple of useful tips:

boundaries_sf %>% 
  group_by(`higher boundary name`) %>% 
  st_make_valid() %>%
  st_union() %>% 
  st_as_sf()

In all my previous posts, I’ve stuck with the graphics workhorse, ggplot2. However, in this post I transitioned to the tmap package [2] and I highly recommend it. I am a relatively new user so I still don’t know whether it’s as comprehensive as ggplot2 but so far many of the map conversions have come out considerably better (and with simpler code). Furthermore, tmap has two modes - where the same map can be viewed as static (tmap_mode("plot")) or interactive (tmap_mode("view")).

Now coming back to the original question of FAR calculation options. The maps show that building polygons are of comparable size or much smaller than the raster cells and both datasets are quite mis-aligned. The building-centric option could be more useful - especially if I also want to associate a population from a raster dataset like WorldPop [3]. I suspect it would be easier to assign a proportion of population to a building than trying to align two raster grids.

References

[1]
T. Esch et al., “World Settlement Footprint 3D - A first three-dimensional survey of the global building stock,” Remote Sensing of Environment, vol. 270, p. 112877, Mar. 2022, doi: 10.1016/j.rse.2021.112877.
[2]
M. T. Nowosad Jakub, Elegant and informative maps with tmap. Accessed: Mar. 14, 2023. [Online]. Available: https://r-tmap.github.io/tmap-book/
[3]
“The spatial distribution of population in 2020 with country total adjusted to match the corresponding UNPD estimate, india,” 2020. https://hub.worldpop.org/geodata/summary?id=49992

Credits

Post photo by Evgeny Klimenchenko on Unsplash