shadow: Geometric Shadow Calculations

Functions for calculating: (1) shadow height, (2) logical shadow flag, (3) shadow footprint, (4) Sky View Factor and (5) radiation load. Basic required inputs include a polygonal layer of obstacle outlines along with their heights (i.e. "extruded polygons"), sun azimuth and sun elevation. The package also provides functions for related preliminary calculations: breaking polygons into line segments, determining azimuth of line segments, shifting segments by azimuth and distance, constructing the footprint of a line-of-sight between an observer and the sun, and creating a 3D grid covering the surface area of extruded polygons.

Version: 0.6.9
Depends: R (≥ 3.5.0), sp (≥ 1.1.1)
Imports: rgeos (≥ 0.3), raster (≥ 2.4-15), methods, parallel (≥ 3.4.0)
Suggests: R.rsp, maptools (≥ 0.8), testthat, reshape2 (≥ 1.4.2), threejs, rgdal, stars
Published: 2020-10-10
Author: Michael Dorman [aut, cre], Evyatar Erell [ctb], Itai Kloog [ctb], Adi Vulkan [ctb], Roger Bivand [ctb]
Maintainer: Michael Dorman <dorman at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: NEWS
CRAN checks: shadow results


Reference manual: shadow.pdf
Vignettes: Introduction to the 'shadow' R package
Package source: shadow_0.6.9.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: shadow_0.6.9.tgz, r-oldrel: shadow_0.6.9.tgz
Old sources: shadow archive


Please use the canonical form to link to this page.