Learn R Programming

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

shadow (version 0.6.2)

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

84

Version

0.6.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Michael Dorman

Last Published

September 7th, 2019

Functions in shadow (0.6.2)

boston_build

Polygonal layer of three buildings in Boston
boston_park

Polygonal layer of a park in Boston
build

Polygonal layer of four buildings in Rishon
boston_sidewalk

Polygonal layer of sidewalks in Boston
beersheva_elev

DEM of Ramot neighborhood, Beer-Sheva
boston_block

Polygonal layer of a building block in Boston
coefDirect

Coefficient of Direct Normal Irradiance reduction
classifyAz

Classify azimuth of line segments
rad2deg

Radians to degrees
radiation

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

Interactive plot for 3D spatial points
inShadow

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

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

Degrees to radians
flowlength

Calculate flow length
toGMT

Local time to GMT
solarpos2

Calculate solar position(s) for location and time
shiftAz

Shift features by azimuth and distance
ray

Line between two points
surfaceGrid

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

shadow: R Package for Geometric Shade Calculations
tmy

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

Shadow height calculation considering sun position and obstacles
shadowFootprint

Shadow footprint on the ground
toSeg

Split polygons or lines to segments
SVF

Sky View Factor (SVF) calculation
beersheva_build

Polygonal layer of 376 buildings in Beer-Sheva