Quick story. When I was 5 years old, I used to play hide-and-seek with my friends. Just like any kid, I’d always try to find the best hiding spots. I used to wonder:

If I hide in this spot, what is visible from the observer’s point of view all around them (viewsheds)?

Or if the observer looks in a straight line, what is obstructed or not (line of sight)?

In a game of cat and mouse, viewsheds and line of sight would be your secret weapon of choice. This is why the military often uses these tools with very accurate digital elevation models.

Line of sight shows obstructed parts along a line

The line of sight analysis is part of the 3D analysis tools that use a polyline as input. From an observer’s point of view, it determines where they have a clear view. The tool cuts the line up into obstructed and non-obstructed sections.

Because the “line of sight” tool determines what is visible and hidden along a line, the input is a polyline. Also, it’s important how you draw the line. For example, the order you draw vertices determines the start and endpoint of the visibility analysis.

Lastly, you will need an elevation surface. Line of sight uses elevation to determine what is visible or not. For example, here is a polyline from an observer’s point of view:

Line of sight
Line of sight from the observer’s point

As shown below, the line of sight tool breaks the line up into obstructed and unobstructed sections.

Line of sight
Line of sight showing visible (green) and non-visible (red) along the line.

From the start to the end of the line, you can begin to understand visibility. For example, visible is in green. However, non-visible is in red.

So from the observer’s point, the line of sight shows visibility along that path of vision. And it does this by dividing the line into obstructed and unobstructed pieces.

A viewshed displays what’s visible from an observer

On the other hand, a viewshed analysis determines locations visible to an observer in all directions. This type of analysis shows visible and non-visible in all of the surrounding areas.

Instead of using a straight line as an input, viewshed analysis uses a single point.

Likewise, we try to understand visibility from an observer’s point of view. But instead, it’s a raster output indicating visibility. For example, you simply place an observer point on the map.

Viewshed observer point
A point representing an observer’s point of view

In the result below, we see the viewshed in green from a point.

Viewshed analysis displaying visible areas from the observer’s point.

This extent is how far the observer can see, usually in a raster format. In other words, if you look at 360 degrees, this is what is visible to the observer.

What are visibility applications?

Although the line of sight and viewshed tools are both visibility analyses, they produce different results.

Whether it’s a line of sight or a viewshed, both enable you to understand distance with sight. While the “line of sight” tool carves out a straight line as obstructed and non-obstructed, a viewshed dictates all visible areas from an observer’s point of view.

Amongst other GIS applications, we often use visibility analysis in real estate, construction, and military applications.

Imagine using these types of analyses in a game of hide-and-seek. You’d be unstoppable. Where else do you see viewshed and line of sight in the world today?

Subscribe to our newsletter:

One Comment

  1. In a project which our class did , the view shed doesn’t show the extent of view as line of sight . Line of sight passes through the area of viewshed but part visible and part not visible. the part in not visible is still in view shed area. It doesn’t make sense.
    I assume line of sight should be all visible in viewshed area.
    Please advise.
    Thank you

Leave a Reply

Your email address will not be published. Required fields are marked *