shadow: R Package for Geometric Shade Calculations

Functions for calculating (1) shade height at a single point, (2) shaded proportion of a building facade; (3) a polygonal layer of shade footprints on the ground; and (4) Sky View Factor value at a single point. Typical inputs include a polygonal layer of buildings outline along with the height of each building, sun azimuth and sun elevation. The package also provides functions for related preliminary calculations: converting polygons to line segments, finding segment azimuth, shifting segments by azimuth and distance, and constructing the footprint of a line of sight between an observer and the sun.

Version: 0.2.0
Depends: R (≥ 3.2.3), sp (≥ 1.1.1)
Imports: rgeos (≥ 0.3), raster (≥ 2.4-15), methods
Suggests: knitr, rmarkdown, bookdown, maptools (≥ 0.8), testthat, plyr (≥ 1.8.4), reshape2 (≥ 1.4.2)
Published: 2017-01-19
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
CRAN checks: shadow results


Reference manual: shadow.pdf
Vignettes: Introduction to package 'shadow'
Package source: shadow_0.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Mavericks binaries: r-release: shadow_0.2.0.tgz, r-oldrel: shadow_0.2.0.tgz
Old sources: shadow archive


Please use the canonical form to link to this page.