How the Sun Facing Checker Works: Method and Data Sources
Last updated
The data sources, the sun maths, the settings used and what the figures do not cover, in plain English.
If a site tells you which way a block faces and how long the sun hits it, you can fairly ask where the numbers came from. This page says. By the end you will know the data sources, the sun maths, the settings used, and what the figures leave out.
Is this you?
- You want to check that the sun figures are computed, not guessed.
- You want to know which open data the block and condo facings come from.
- You want to know what the figures do not cover before you rely on them.
Data sources
| Source | Used for | Publisher and licence |
|---|---|---|
| HDB Existing Building and HDB Property Information | Outline of each HDB block, whether it is residential, its town and its top floor | Housing and Development Board through data.gov.sg, Singapore Open Data Licence v1.0 |
| OneMap search | One point per HDB block, used only to join the two HDB datasets | Singapore Land Authority, OneMap |
| OpenStreetMap | Building outlines around each condo, found with the Overpass API, and building heights in the live checker where recorded | OpenStreetMap contributors, ODbL |
| OpenFreeMap tiles | The map in the live checker | OpenFreeMap |
| SunCalc 1.9.0 | Sun position, sunrise and sunset | Open source library |
The HDB and condo data was last fetched on 4 November 2026.
How a wall is found and rated
- Take the outline of each block from the data above. Only outer rings are used, so courtyards are ignored.
- Turn each outline into walls. Walls shorter than 3 m are ignored, as in the live checker.
- Round each wall's outward direction to one of eight compass points. A main side is one that holds at least 12% of a block's wall length.
- For each wall direction, step through each month at 5 minute intervals. Count the time the sun is above the horizon, within 90° of the wall, and cos(height of sun) multiplied by cos(angle off the wall) is at least 0.3.
- Use the 15th of each month of 2026, in Singapore time, at the town or condo coordinates.
The sun maths is loaded from the same file the live checker ships (public/js/solar-core.js), so a wall is rated the same way on a guide page, a town page and in the tool.
What is left out
- Shade from neighbouring blocks, trees and other structures. Facing pages and these guides use outlines only.
- Cloud, haze and rain. Every figure is for a clear sky.
- Floor level, balcony overhangs, window size and glazing.
- Buildings that are not yet built, and OpenStreetMap outlines that are missing or out of date. OpenStreetMap is community maintained.
- HDB blocks that could not be joined to an outline. The HDB town data records how many were used for each town.
The live checker does model shadows from mapped buildings. It uses the height recorded in OpenStreetMap where there is one, and a typical height for the building type where there is not.
Next step
To check a specific address against the real surroundings, use the Sun Facing Checker. If you spot a figure that looks wrong, message Winfred Quek and it will be checked.
Check it yourself
The Sun Facing Checker shows which way the address faces and when the sun reaches it, for any month and time of day.
Frequently asked questions
- Are the sun figures measured or computed?
- Computed. They come from the SunCalc 1.9.0 library, which works out the sun's position from the date, time and place, not from a sensor.
- Do the figures include shade from other buildings?
- The guides and town pages do not. They use outlines only. The live checker models shadows from mapped buildings.
- Where do the HDB block outlines come from?
- From the HDB Existing Building dataset on data.gov.sg, joined to HDB Property Information using OneMap points.
- Why use the 15th of each month?
- It is one fixed day in the middle of the month, so the same figures come out every time the pages are rebuilt.
Related guides
- Sun facing glossary: Azimuth, bearing, west sun and the other terms.
- West sun by month: Minutes of direct sun on a west wall, month by month.
- Sunrise and sunset times in Singapore: Time and compass direction for every month.
- Which HDB towns have the most west leaning blocks: A ranking of 24 towns from HDB open data.
Want to see the method applied to one address? Use the checker, or message Winfred Quek to talk through what you find.
WhatsApp for a free valuation report Book a 30 minute call