Learn R Programming

shadow (version 0.7.1)

Geometric Shadow Calculations

Description

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.

Copy Link

Version

Install

install.packages('shadow')

Monthly Downloads

76

Version

0.7.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Michael Dorman

Last Published

March 14th, 2021

Functions in shadow (0.7.1)

coefDirect

Coefficient of Direct Normal Irradiance reduction
inShadow

Logical shadow calculation (is given point shaded?) for 3D points considering sun position and obstacles
shadowHeight

Shadow height calculation considering sun position and obstacles
plotGrid

Interactive plot for 3D spatial points
radiation

Estimation of Direct and Diffuse Radiation Load on Extruded Polygon Surfaces
shadow

shadow: R Package for Geometric Shade Calculations
deg2rad

Degrees to radians
rad2deg

Radians to degrees
ray

Line between two points
shiftAz

Shift features by azimuth and distance
shadowFootprint

Shadow footprint on the ground
toGMT

Local time to GMT
tmy2

Typical Meteorological Year (TMY) solar radiation in Beer-Sheva
tmy

Typical Meteorological Year (TMY) solar radiation in Tel-Aviv
toSeg

Split polygons or lines to segments
surfaceGrid

Create grid of 3D points covering the 'facades' and 'roofs' of obstacles
solarpos2

Calculate solar position(s) for location and time
boston_park

Polygonal layer of a park in Boston
classifyAz

Classify azimuth of line segments
SVF

Sky View Factor (SVF) calculation
boston_build

Polygonal layer of three buildings in Boston
boston_block

Polygonal layer of a building block in Boston
beersheva_build

Polygonal layer of 376 buildings in Beer-Sheva
beersheva_elev

DEM of Ramot neighborhood, Beer-Sheva
boston_sidewalk

Polygonal layer of sidewalks in Boston
build

Polygonal layer of four buildings in Rishon