The R Journal: article published in 2019, volume 11:1

shadow: R Package for Geometric Shadow Calculations in an Urban Environment PDF download
Michael Dorman, Evyatar Erell, Adi Vulkan and Itai Kloog , The R Journal (2019) 11:1, pages 287-309.

Abstract This paper introduces the shadow package for R. The package provides functions for shadow related calculations in the urban environment, namely shadow height, shadow footprint and Sky View Factor (SVF) calculations, as well as a wrapper function to estimate solar radiation while taking shadow effects into account. All functions operate on a layer of polygons with a height attribute, also known as “extruded polygons” or 2.5D vector data. Such data are associated with accuracy limitations in representing urban environments. However, unlike 3D models, polygonal layers of building outlines along with their height are abundantly available and their processing does not require specialized closed-source 3D software. The present package thus brings spatio-temporal shadow, SVF and solar radiation calculation capabilities to the open-source spatial analysis workflow in R. Package functionality is demonstrated using small reproducible examples for each function. Wider potential use cases include urban environment applications such as evaluation of micro-climatic influence for urban planning, studying urban climatic comfort and estimating photovoltaic energy production potential.

Received: 2018-05-01; online 2019-08-17, supplementary material, (2.3 KiB)
CRAN packages: insol, shadow, sp, threejs, raster, rgeos, maptools, parallel, plot3D, sf
CRAN Task Views cited directly: Spatial
CRAN Task Views implied by cited CRAN packages: Spatial, SpatioTemporal

CC BY 4.0
This article and supplementary materials are licensed under a Creative Commons Attribution 4.0 International license.

  author = {Michael Dorman and Evyatar Erell and Adi Vulkan and Itai
  title = {{shadow: R Package for Geometric Shadow Calculations in an
          Urban Environment}},
  year = {2019},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2019-024},
  url = {},
  pages = {287--309},
  volume = {11},
  number = {1}