Terrain Analysis

Viewshed Analysis and Line of Sight Calculator

Find out what can be seen from a tower, hilltop or camera pole. Check the line of sight between two points, the Fresnel zone clearance and the terrain profile.

Click the map where the observer stands (tower, hilltop, camera pole). You can add up to three observers, then press Compute Viewshed.

Observers

    Set each observer's height above ground in the list. Target height is how far above the ground the point to be seen is (about 1.7 m for a person, the mast height for an antenna).

    Use 0.13 for visual line of sight; radio links in a standard atmosphere (K = 4/3) use 0.25.

    Data Source and Privacy

    Elevation data: AWS Terrain Tiles (Mapzen/Tilezen; SRTM, GMTED2010, ETOPO1 and other sources). Tiles are downloaded to your browser from AWS (s3.amazonaws.com); the requests contain only tile numbers, which reveal the area being studied only roughly. Observer coordinates, heights and results are not sent to any server. Basemaps load from Esri and OpenStreetMap servers.

    Related Tools

    What a viewshed analysis is for

    A viewshed analysis shows which parts of the terrain can be seen directly from an observer at a given height. For every cell, the tool checks whether the straight line from the observer to that cell hits the ground on the way. If it does not, the cell counts as visible.

    The same question comes up in many kinds of work. Telecom and fibre teams use it to screen which settlements a base station or microwave tower can reach. In early solar and wind studies, how visible a plant is from nearby villages and roads is part of the visual impact assessment. Security camera and watchtower layouts use it to find blind spots, and emergency planners use it to choose lookout points, siren locations or radio repeater sites.

    How to use it

    1. In Viewshed mode, click the observer location on the map or type its coordinates. Enter the tower or mast height in the list. You can add up to three observers; in the combined result, ground seen from two or more observers gets its own colour.
    2. Set the target height (how far above the ground the point to be seen is), the radius and the refraction coefficient, then press Compute Viewshed. The summary gives the visible area in km² and as a share of the analysed area.
    3. In Line of Sight (A-B) mode, pick two points, enter the antenna heights and, optionally, the frequency. The chart shows the terrain profile, the sight line and the first Fresnel zone; if something is in the way, the tool reports where it is and how much the antennas need to be raised.
    4. Download the viewshed as ZIP (PNG, PGW, KML), KMZ or GeoJSON, and the profile as CSV.

    Line of sight and the Fresnel zone

    For a radio link, a clear straight line between the two antennas is not enough. Much of the energy travels inside the ellipsoid around that line known as the first Fresnel zone. Its radius at any point is r1 = √(λ · d1 · d2 / D), where λ is the wavelength, d1 and d2 are the distances from the point to each end and D is the total path length. At 5 GHz the wavelength is about 0.06 m, so at the midpoint of a 10 km link r1 comes out at about 12.2 m. In practice at least 60% of this zone should be free of obstacles. The tool computes the clearance at every profile point, marks the critical point and reports the extra height needed to achieve line of sight and 60% clearance by raising A only, B only or both together. When a frequency is entered, the free-space path loss is also shown.

    Earth curvature and refraction

    Over long distances the curvature of the earth drops the target below the sight line. The drop at distance d is d² · (1 - k) / 2R, where R is the mean earth radius and k is the atmospheric refraction coefficient. The atmosphere bends rays slightly towards the ground and reduces the curvature effect. A common default for visual line of sight is k = 0.13, which gives a drop of about 6.8 m at 10 km. Radio links in a standard atmosphere are usually planned with an effective earth radius factor K = 4/3, equivalent to k = 0.25.

    Data and method

    Elevations are read from the open AWS Terrain Tiles dataset (Mapzen/Tilezen). For Türkiye and most of the world, the source data largely comes from global models such as SRTM with a resolution of roughly 30 m. For the viewshed, the area around the observer is divided into a latitude-longitude grid of at most about 360,000 cells, so the spacing is about 17 m at a 5 km radius, 34 m at 10 km and 67 m at 20 km. Visibility is computed with the R3 method: a separate ray is traced from the observer to every target cell, curvature-corrected elevations are read along it and the angle to the target is compared with the steepest angle on the way. Additional observers snap to the nearest cell centre. The line of sight profile is sampled about every 20 m from the most detailed tile level.

    The profile chart runs on Chart.js 4.4.1 (MIT licence) and ZIP and KMZ files are built with JSZip 3.10.1 (used under its MIT licence option); icons come from Lucide (ISC licence). Basemaps are provided by Esri and OpenStreetMap contributors. Open-source libraries used and their licences: Data Sources.

    Accuracy limits

    For professional projects

    Rodosto Teknoloji works on GIS projects for telecom, energy and site selection; you can find an overview on the company website. For questions about a specific project, use the contact page.

    Frequently Asked Questions

    How is the Fresnel zone calculated?

    The radius of the first Fresnel zone at a point is r1 = √(λ · d1 · d2 / D), where λ is the wavelength (speed of light divided by frequency), d1 and d2 are the distances from the point to each end, and D is the total path length. At 5 GHz (λ ≈ 0.06 m), the radius at the midpoint of a 10 km link is about 12.2 m.

    The line of sight is clear. Will the link definitely work?

    No. The tool uses a bare-earth terrain model, so buildings, trees, masts and recent earthworks are not included. The result is for preliminary screening. A firm link design needs a site survey along the path, measurements where necessary and a detailed calculation in licensed radio planning software.

    Which value should I use for the refraction coefficient k?

    A common default for visual line of sight is k = 0.13. Radio links in a standard atmosphere are usually planned with an effective earth radius factor K = 4/3, which corresponds to k = 0.25 in this tool. To test unfavourable conditions you can lower k or even enter a negative value.

    Why is the viewshed radius limited to 20 km?

    Everything runs in the browser and the grid is capped at about 360,000 cells. As the radius grows the cell spacing widens, reaching about 67 m at 20 km, and small ridges start to disappear. For larger areas, run several observers separately or use desktop GIS software.