Accuracy and the data
Solar and lunar astronomy
Section titled “Solar and lunar astronomy”- Solar position: Computed offline using Jean Meeus Astronomical Algorithms with standard atmospheric refraction, verified against NOAA Solar Calculator reference tables across latitudes
−66°to+66°for dates from1900through2100. - Flat-horizon events: Flat sunrise, sunset, solar noon, golden hour (
−4°to+6°), blue hour (−6°to−4°) and civil (−6°), nautical (−12°) and astronomical (−18°) twilight agree within about one minute of NOAA / USNO tables. - Lunar position & phase: Computed locally on device from Meeus lunar equations (azimuth, elevation, phase name and illuminated percentage).
The 360° terrain horizon and shadows
Section titled “The 360° terrain horizon and shadows”- Elevation data: Served by ObjectGraph’s elevation server (
elevationapi.geosq.com) from Mapzen Terrain Tiles — a global 30-meter mosaic combining 3DEP (USGS), SRTM, GMTED2010, ETOPO1, EU-DEM, ArcticDEM, LINZ, CDEM (NRCan), INEGI and the UK Environment Agency. - 720-ray horizon sweep: Regardless of your chosen Area Size, Sun Terrain casts 720 rays (
0.5°azimuth step) around all 360°, combining a near 30-meter grid (~11 km radius) with coarser outer tiles reaching roughly 30 km, from an observer eye height of1.7 m. - Earth curvature and refraction: Distant terrain is lowered for Earth curvature with standard optical refraction (
k = 1/7, effective curvature factor0.85714 · d² / 2R), matching the same physical model used in Geo Elevation. - Cast terrain shadows: Computed on device across the elevation grid with a directional horizon sweep so scrubbing time and Play Day run smoothly at 30 fps.
- Nearby buildings in House (250 m) mode: Extruded from OpenStreetMap building footprints served by OpenFreeMap (
tiles.openfreemap.org, zoom 14). Buildings tagged withrender_height > 6.5 muse their tagged height; all others use your Default House Height slider.
Limits to keep in mind
Section titled “Limits to keep in mind”- 30-meter sampling: A narrow boulder, ridge fin or steep cliff edge between 30-meter grid samples can shift actual sunrise or sunset by a few minutes compared to the smoothed grid.
- Vegetation and micro-relief: Forests, tall hedges and individual trees are not in the bare-earth DEM or the OpenStreetMap building layer.
- Very distant peaks (> 30 km): An exceptionally tall mountain range more than ~30 km away (such as a distant 4,000 m peak across a wide plain) lies outside the horizon ray-march radius.
- Polar latitudes: Above the Arctic Circle or below the Antarctic Circle, midnight sun or polar night can produce days with no sunrise or no sunset; flat and terrain summaries report continuous sun or continuous shade accordingly.
- AR compass: Phone magnetometers are typically accurate to a few degrees; see AR Sky for tips on keeping the overlay aligned.
What works offline
Section titled “What works offline”Once a place’s terrain grid (and, in House mode, nearby buildings) has been loaded and cached on your device:
- Works offline: All solar and lunar math, 3D relief & moving shadows, Stand Here walking and zoom, 360° Horizon & monthly sun hours, Sun & Twilight, Solar Report Card export, Sun Alignment Finder, and AR Sky.
- Needs a connection: Fetching terrain for a brand-new location, loading new Apple Maps satellite/map tiles, searching by place name or street address, fetching nearby OpenFreeMap buildings for a new House lot, and syncing Saved Places via iCloud.

