Awesome Open Source
Awesome Open Source

Shadow Accrual Maps

5/12/2020: New shadow data for Chicago, Los Angeles, Washington D.C. and Boston, see below.

Large-scale shadows from buildings in a city play an important role in determining the environmental quality of public spaces. They can be both beneficial, such as for pedestrians during summer, and detrimental, by impacting vegetation and by blocking direct sunlight. Determining the effects of shadows requires the accumulation of shadows over time across different periods in a year. In our paper Shadow Accrual Maps: Efficient Accumulation of City-Scale Shadows over Time, we present a simple yet efficient class of approach that uses the properties of sun movement to track the changing position of shadows within a fixed time interval. This repository presents the computed shadow information for New York City, Chicago, Los Angeles, Washington D.C., Boston and a script for retrieving the data.

The technique was first presented in the paper:

Shadow Accrual Maps: Efficient Accumulation of City-Scale Shadows over Time
Fabio Miranda, Harish Doraiswamy, Marcos Lage, Luc Wilson, Mondrian Hsieh, Claudio T. Silva
IEEE Transactions on Visualization and Computer Graphics, vol. 25, no. 3, pp. 1559-1574, Mar 2019

Citation:

@ARTICLE{8283638,
author={F. Miranda and H. Doraiswamy and M. Lage and L. Wilson and M. Hsieh and C. T. Silva},
journal={IEEE Transactions on Visualization and Computer Graphics},
title={Shadow Accrual Maps: Efficient Accumulation of City-Scale Shadows Over Time},
year={2019},
volume={25},
number={3},
pages={1559-1574},
keywords={Urban areas;Ray tracing;Buildings;Visual analytics;Sun;Tools;Shadow accumulation;shadow accrual maps;visual analysis;urban development},
doi={10.1109/TVCG.2018.2802945},
ISSN={1077-2626},
month={March}}

Shadow Accrual Maps has been feature on The New York Times, together with an interactive visualization of the accumulated shadows in New York City. It has also been feature on GeoAwesomeness, Technical.ly, among others.

A video is available here.

Shadow accrual map example

Shadow Accumulation Data

Shadow example

The shadow accumulation data can be downloaded through Open Science Framework here, or visualized here. We have made available data for:

The accumulated shadows were computed for three days of the year: June 21 (summer solstice), September 22 (autumnal equinox) and December 21 (winter solstice). Shadows can be greatly distorted when they are near the horizon, so all the shadows in the model are estimated from one and a half hours after sunrise to one and a half hours before sunset.

Each tar.gz or zip file contains a folder structure following the slippy tiles hierarchy (see here), with both png and binary files; the png files can be visualized over any map that uses slippy tiles (e.g., Google Maps, OpenStreetMap). The binary files contain the raw accumulation values for the considered time ranges. We provide a python script to facilitate the retrieval of shadow values, given a lat/lon as an input. For example:

python shadow.py --lat 40.749785 --lon -73.987774 --path ./slippy-nyc-dec-21

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (1,142,144
Visualization (5,547
Gis (1,670
Spatial Analysis (226
Geography (204
Shadow (203
Related Projects