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.5.0
Depends: R (≥ 3.2.3), sp (≥ 1.1.1)
Imports: rgeos (≥ 0.3), raster (≥ 2.4-15), methods, parallel (≥ 3.4.0), plyr (≥ 1.8.4)
Suggests: knitr, rmarkdown, bookdown, maptools (≥ 0.8), testthat, reshape2 (≥ 1.4.2), threejs, rgdal
Published: 2018-03-06
Author: Michael Dorman [aut, cre], Evyatar Erell [ctb], Itai Kloog [ctb], Adi Vulkan [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 package 'shadow'
Package source: shadow_0.5.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: shadow_0.5.0.tgz
OS X Mavericks binaries: r-oldrel: shadow_0.3.0.tgz
Old sources: shadow archive


Please use the canonical form to link to this page.