How Sundial works

Sundial shows where the sun and shadows fall on real buildings, for any address, on any day of the year.

Open the map

What you can do

How it's calculated

The sun's position comes from standard astronomical formulas (the SunCalc library) for the chosen coordinates and moment. Sundial lights a 3D model of the surrounding buildings from that direction and renders the shadows in your browser with WebGL. The sun-hours map repeats this every ten minutes from sunrise to sunset and adds up which surfaces were lit.

Where the data comes from

Buildings
Footprints and heights from OpenStreetMap contributors, served as vector tiles by OpenFreeMap (OpenMapTiles schema).
Trees
Individually mapped trees from OpenStreetMap, fetched through the Overpass API.
Ground map
Standard OpenStreetMap map tiles.
Search
Address search and place names from Photon by komoot, which is built on OpenStreetMap data.

Limits to keep in mind

Sundial is a planning aid and a curiosity, not a survey. For decisions that depend on exact sunlight, such as planning applications or buying a property, check on site or with a professional.

Requirements

Sundial runs in any current browser with JavaScript and WebGL, on desktop or mobile. Nothing is installed and there is no account to create.