SUN & SHADOW

Sun and Shadow Analysis Software

STREAM's sun and shadow analysis software computes how many hours of sunlight each point on your terrain receives, with real topographic shadow cast by the surrounding relief — not a flat, shadow-free estimate. Choose an instant, day, month or full year, set the latitude, and map sunlit versus shaded ground across the whole surface.

A yearly sun and shadow result in STREAM: sunlight hours mapped on the terrain, with monthly averages, the sun path against the terrain horizon and the sunniest regions listed.
A yearly sun and shadow result in STREAM: sunlight hours mapped on the terrain, with monthly averages, the sun path against the terrain horizon and the sunniest regions listed.

What is sun and shadow analysis?

Sun and shadow analysis simulates the sun's path over an elevation surface and computes how long each point is lit versus shaded by the surrounding terrain. The result is a sunlight-hours map, not just a single shading image.

It matters wherever exposure drives a decision — solar panel siting, agriculture and greenhouses, landscape and building layout.

Sun and Shadow Analysis Software in STREAM

Sunlight hours with real shadow

Compute sunlight duration per cell including topographic shadow cast by the surrounding relief.

Instant, daily, monthly, yearly

Pick the time mode and set the latitude; STREAM sums exposure over the period you choose.

Hours, energy or shadow ratio

The same calculation can be shown as sunlight hours, as clear-sky energy in kWh/m² (direct, diffuse and ground-reflected, by slope and aspect) or as the share of daylight spent in shadow. Switching the display does not recompute anything.

The sunniest and the shadiest areas

Rank the distinct high-sunlight areas and the most shaded ones — the haul road that stays icy, the bench that never dries — with their size, mean sunlight hours and shadow percentage.

Watch the shadow move

After an instant or daily result, drag the hour slider or press Play: the shadow moves across the terrain in 10-minute steps, from sunrise to sunset, without recomputing.

Any point, its own horizon

Pick a point on the map to see when it gets its first and last direct sun that day, how many hours in total, and the silhouette of its own horizon under the sun path.

Design surfaces as well as terrain

Run the analysis over a design surface (triangle model) laid on the terrain, and over the terrain as you have edited it, to see how a planned grade changes sun and shadow.

Export the result

Keep it as a layer, add the colour map as a raster, save the measured values as a Float32 GeoTIFF, extract the sunny and shaded regions as Areas with a CSV table, or produce a PDF report.

One license, the same terrain

Sun and shadow analysis shares the same DEM as slope, aspect, viewshed, hydrology and change detection in STREAM — no separate solar-analysis license or re-import.

A sun-path diagram against your own horizon

The panel draws the solar dome for your latitude — the summer solstice arc, the equinox arc, the winter arc and the arc of the day you picked — over the silhouette of the surrounding terrain. Where an arc dips below that silhouette, the site is in shadow. In instant mode the real sun position for your date and time is marked on it.

The monthly profile, and the worst month

A twelve-month bar chart shows average daily sunlight hours through the year, and badges name the sunniest and the least sunny month. Panel and bench layouts are designed for the worst month, not the average, so that number is on the screen rather than buried in a table. Months that were not scanned are drawn differently from months that came out at zero.

Classified colouring you control

Set the low and high sunlight-hour bounds by hand or leave them automatic, and choose a continuous ramp or 3, 5 or 8 discrete classes in one of four colour schemes. Recolouring is instant — the result is not recomputed — so you can find a threshold visually and keep the same numbers underneath.

In the product

The Sun & Shadow panel before the calculation: time mode, date and hour, scope, surface, resolution and display options.
The Sun & Shadow panel before the calculation: time mode, date and hour, scope, surface, resolution and display options.
Sun and shadow

Step by step, with screenshots

The user manual walks through this task click by click, with a screenshot of the real application for every step. It is written in English because the screenshots show the English interface.

Every step, with screenshots, in the user manual

How to run a sun and shadow analysis

  1. 1

    Load the terrain

    Open the DEM of your site (GeoTIFF), or import a LAS/LAZ point cloud and let STREAM rasterize it to an elevation surface.

  2. 2

    Draw the analysis area

    Mark the area you want to study. Relief outside that boundary is still taken into account for cast shadow, so a ridge beyond the site does not silently disappear.

  3. 3

    Pick the time period

    Choose an instant, a day, a month or a full year, and set the date. Latitude and longitude come from the project coordinate system, so the sun path matches the real location.

  4. 4

    Compute the sunlight map

    Run the analysis to get sunlight hours per cell, including the topographic shadow cast by the surrounding terrain.

  5. 5

    Read the sunniest and shadiest areas

    The ranked lists of the best-lit and the most shaded areas are linked to the map — selecting an entry takes the view to it, so you can inspect the ground before deciding.

  6. 6

    Export the result

    Keep it as a layer, save the measured values as a Float32 GeoTIFF, extract the regions as Areas with a CSV table, or create a PDF report.

The four time modes of STREAM's sun and shadow analysis — what each computes and what it reports
Time modeWhat is computedResult unit
InstantThe shadow at one date and one hour, in local solar time or civil timePercentage of the area in sun, plus the sun's position on the sun-path diagram
DailyTotal sunlight over the chosen day, with topographic shadowHours per day
MonthlyTotal sunlight over the chosen monthHours per month
YearlyAll twelve months scanned; month, day and hour inputs are switched offHours per year, plus the sunniest and least sunny month

Supported formats

GeoTIFF
Source DEM; the colour map as a raster, and the measured values (sunlight hours, energy, shadow ratio) as a three-band Float32 GeoTIFF
DXF + CSV
Sunniest and shadiest region boundaries, added to the project as Areas, with a table of size, sunlight hours and shadow percentage
PDF
Report with inputs, metrics, map and legend, monthly chart, sun path with the terrain horizon, and regions

Watch it

STREAM Terrain: Sun & Shadow Analysis (Solar) — Sunlight Hours & Shadows on Any Terrain

Frequently asked questions

Does STREAM include topographic shadow?

Yes. Sun & shadow analysis includes the shadow cast by the surrounding relief, so results reflect the real terrain, not a flat surface.

Is the result in energy (kWh)?

Both. Next to sunlight hours, STREAM computes clear-sky energy in kWh/m² per cell — direct beam by slope and aspect, diffuse light reduced by the sky the terrain hides, and light reflected from the ground. On its own it is a relative value for comparing areas; enter the site's measured or atlas horizontal irradiation for the same period under Advanced and the map is calibrated to it. Cloud cover is not modelled.

What is it used for?

Solar panel siting, agriculture and greenhouse planning, and landscape or building layout — anywhere sun exposure and shadow matter.

Is STREAM's sun and shadow analysis software free?

Yes — it's included in the free Windows x64 beta, with no separate charge for this feature.

How do I run a sun hours analysis?

Draw and select an area (or set Scope to Whole terrain), open Analysis ▸ Surface Analysis ▸ Sun & Shadow, choose a time mode — instant, daily, monthly or yearly — set the date and press Calculate. Latitude and longitude are filled in from the project's coordinate system, and you can change both under Advanced.

What is the difference between the four time modes?

Instant gives the shadow at one date and hour and reports the percentage of the area in sun. Daily totals the sunlight of one day in hours per day. Monthly totals a chosen month. Yearly scans all twelve months and reports hours per year; in that mode the month, day and hour boxes are switched off because they are not used.

Where does the latitude come from?

From the project's coordinate system: the centroid of the selected area is converted to EPSG:4326. A latitude or longitude you type stays until the area or the project changes; Auto location fills them in again. If the coordinate system cannot be resolved, STREAM says so and computes the sun position with the latitude and longitude shown in the panel instead of failing silently.

Is the hour value local time or solar time?

You choose. Time basis offers local solar time or civil time; with civil time you enter the UTC offset (3 for Türkiye) and STREAM converts it to solar time for the calculation. The equation of time is applied inside the solar position, so the sun on the sun-path diagram and the shadow on the map are the same sun.

How is this different from hillshade?

Hillshade is a schematic shading tool: a time-of-day slider derives a light direction from a closed formula that ignores the project's latitude and date. Sun and shadow analysis uses a real solar position with topographic shadow from the surrounding terrain, and produces a measurable result rather than a look.

Can I get the sunniest areas as data instead of a picture?

Yes. The panel ranks the distinct high-sunlight areas and the most shaded ones with their size, mean sunlight hours and shadow percentage, and clicking a row flies the map to it. Extract Areas writes their real boundaries to DXF and adds them to the project as Areas, with a CSV carrying rank, type, X, Y, elevation, area, sunlight hours, shadow percentage and peak hours.

Can the sunlight map become a layer or a GeoTIFF?

Yes. The result starts as a draft that is discarded if you close the panel; Add to Layer makes it a permanent layer saved with the project, Add as Raster writes the colour map as a GeoTIFF raster layer, and Value Raster saves sunlight hours, energy and shadow ratio as numbers in a Float32 GeoTIFF for another GIS — none of them recomputes the analysis.

Does shadow from terrain outside my area count?

Yes. Relief beyond the analysis area is scanned as well, out to about 12 km when the elevation data reaches that far, with Earth curvature on the far ring. The panel states how far the surrounding terrain was actually scanned, or that it could not be because the DEM does not extend beyond the area.

Try Sun and Shadow Analysis in STREAM

Free beta for Windows x64. Works fully offline with GeoTIFF, LAS/LAZ and DXF.

Download STREAM free