Learn R Programming

⚠️There's a newer version (0.7.1) of this package.Take me there.

shadow (version 0.2.0)

R Package for Geometric Shade Calculations

Description

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.

Copy Link

Version

Install

install.packages('shadow')

Monthly Downloads

84

Version

0.2.0

License

MIT + file LICENSE

Maintainer

Michael Dorman

Last Published

January 19th, 2017

Functions in shadow (0.2.0)

deg2rad

Degrees to radians
classifyAz

Classify azimuth of line segments
shadePropWall

Shaded proportion of building walls
shadow

shadow: R Package for Geometric Shade Calculations
shadeHeight

Shade height calculation considering sun position and buildings outlines.
build

Polygonal layer of four buildings.
rad2deg

Radians to degrees
ray

Line between two points
shadeFootprint

Shade footprint on the ground
shadeImageWall

Create an image of wall shading
toGMT

Local time to GMT
toSeg

Convert polygons or lines to segments
shiftAz

Shift features by azimuth and distance.
SVF

Sky View Factor (SVF) calculation