Perform line-of-sight analysis

First, you'll determine whether the proposed locations of security personnel have a line of sight on Rittenhouse Square, the Philadelphia park where the event will take place. Line-of-sight analysis immediately indicates whether a target can be seen from a specific location.

You'll perform line-of-sight analysis twice. First, you'll determine whether the park can be seen from the top of a nearby building. Then, you'll create an animated line of sight to visualize obstruction spots along a planned patrol route.

Visualize the city

Before you perform line-of-sight analysis, you'll navigate to Rittenhouse Square, Philadelphia, the location of the event. Then, you'll add 3D data to ArcGIS Earth to show the surrounding buildings.

  1. Start ArcGIS Earth.
    Note:

    If you don't have ArcGIS Earth, you can download it from the ArcGIS Earth product site (scroll to the bottom of the page).

    ArcGIS Earth opens, showing the world as a 3D globe.

  2. If the Take a tour and learn more window appears, click Skip.
  3. On the top toolbar, check if you are signed in. If you are not, click Not signed in.

    Not signed in

  4. If you're using an ArcGIS Online account, click Sign in and sign in using your ArcGIS organizational account credentials.
    Note:

    If you don't have an organizational account, you can sign up for a free trial.

  5. If you're using an ArcGIS Enterprise account, sign in using the following steps:
    • Click Portal Manager.
    • In the Portals window, click Add Portal. Type the URL for your ArcGIS Enterprise portal and click OK.
    • To use your portal, right-click its URL and choose Set As Active Portal.
    • When prompted, sign in with the credentials for your ArcGIS Enterprise portal and close the Portals window.

    Upon signing in, the globe's basemap may change to reflect your organization's default basemap. You'll change the basemap to show satellite imagery, so you'll have a better idea of what the area looks like.

  6. On the toolbar, click the Basemap and Terrain button.

    Basemap and Terrain button

  7. Choose the Imagery basemap.

    Imagery basemap

    Next, you'll navigate to Rittenhouse Square, Philadelphia.

  8. Click the Search button, type Rittenhouse Square, and choose Rittenhouse Square, Philadelphia, PA, USA.

    Search for Rittenhouse Square, Philadelphia

    The globe navigates to a marker indicating Rittenhouse Square. The marker is slightly incorrect. Rittenhouse Square is the park located to the northwest of the marker.

  9. Pan and zoom to center the extent around Rittenhouse Square.

    Rittenhouse Square location compared to the search result

    Once zoomed in, the imagery shows several buildings surrounding the park.

    Extent zoomed to Rittenhouse Square

    Based on the imagery, you can tell these buildings are several stories tall. To conduct proper line-of-sight analysis, you'll need to know exactly how tall. You'll add a 3D layer of Philadelphia buildings to the map to visualize their height.

  10. On the toolbar, click the Add data button.

    Add data button

    The Add Data window opens.

  11. On the ArcGIS Online tab, next to the search box, click My Content and choose ArcGIS Online.
  12. Search for Philadelphia Buildings owner:Learn_ArcGIS and press Enter. Point to the Philadelphia Buildings result and click the Add button.

    Add button for Philadelphia Buildings item

    The globe zooms out and the layer is added to the map. It covers a large amount of Philadelphia, not just the immediate area around the park.

  13. Close the Add Data window. Navigate back to Rittenhouse Square.
  14. Right-click and drag the mouse to tilt the scene.

    Tilted view of Rittenhouse Square with 3D buildings

    The 3D buildings provide a more realistic view of the park. They'll also be essential for determining where the line of sight might be blocked.

    Note:

    3D buildings for many cities are available on ArcGIS Living Atlas of the World. To learn how to create simple 3D structures using 2D building footprints, try the Learn ArcGIS lesson Map Venice in 2D and 3D.

Determine line of sight from a point

One of the proposed locations of security personnel is atop a nearby building. Planners believe the security personnel deployed there will be able to monitor the park from above. You'll conduct line-of-sight analysis to determine whether the deployed personnel would be able to see the park from their location.

  1. Click the Search button. Search for and navigate to 1818 Market St, Philadelphia, PA 19103.

    The map navigates to a city block with two structures. The structure on the west side of the block is much taller than the other. This is the structure where the observer will be located.

    Observer point location on Market Street

    Tip:

    To remove a search result marker, open the search box and clear the text.

  2. Navigate until you can see both the building where the observer will be located and Rittenhouse Square (which is to the south of the building).
  3. On the toolbar, click the Interactive analysis button and choose Line of Sight.

    Line of Sight option

    A window opens with line-of-sight options.

  4. Confirm that the From point tab is active.

    Next, you'll add the observer point. This point will represent the security personnel.

  5. Click the southern side of the building on Market Street.
    Tip:

    If you want to add the observer point to the ground instead of the roof, press T and click.

    A blue observer point is added. The next location you click will be the location of the target point.

  6. Double-click the center of Rittenhouse Park.
    Tip:

    While adding observer and target points, you can still tilt, zoom, and pan the map as necessary.

    A red target point is added. A line connects it to the observer point. The blue portion of the line indicates an unobstructed line of sight, while the purple portion of the line indicates where the line of sight is obstructed. (You can change the line's colors using the Color scheme option in the line-of-sight window.)

    Obstructed line of sight from Market Street to Rittenhouse Park

    Note:

    If you placed the observer point on the top of the Market Street building instead of its side, the line of sight may be obstructed by the edge of the Market Street building.

    Although the building on Market Street is significantly taller than those immediately around the park, the line of sight from the top of the building to the park's center is obstructed by another building. This location would not be an ideal location for security personnel.

  7. Click anywhere on the map to reactivate the line-of-sight tool. Add a line of sight from one of the buildings close to the Market Street building to the park.

    Unobstructed line of sight

    In the example image, the line of sight is not obstructed and the line is blue from the observer point to the target point. Depending on the building you chose, your line of sight may be obstructed.

  8. If necessary, add more lines of sight until you create one that is unobstructed.
    Tip:

    To change the location of an observer or target point after you add it, click the point to select it. You can either drag the point to the new location or edit its coordinates in the window that appears.

    Once you've created an unobstructed line of sight, you no longer need the obstructed ones. You'll delete them and save an image of the unobstructed line of sight to refer to it later.

  9. Click an observer or target point for an obstructed line of sight to select it and press Delete.

    The line of sight is deleted.

  10. If necessary, delete any other obstructed lines of sight until only the unobstructed line of sight remains.
  11. On the toolbar, click the Share button and choose Save Image.

    Save Image option

    The Save As window opens.

  12. Browse to a location of your choice on your computer and save the image as Unobstructed Line of Sight.jpg.
    Note:

    You can also save the image as a .png or .tif file.

  13. Close the line of sight window.

    When you close the window, all lines of sight disappear.

Create an animated line of sight

The city also wants a ground vehicle to patrol the streets near the park. It wants to know ahead of time the areas on the patrol car's route where its view of the park will be blocked.

You'll draw a line to represent the route. Then, you'll create an animated line of sight using a moving vehicle model as the observer point. It'll be easier to draw a line that follows the streets with a different basemap and the 3D buildings turned off.

  1. On the toolbar, click the Expand layer list button. Uncheck Philadelphia Buildings.

    Layer list with Philadelphia Buildings turned off

    The buildings are hidden on the scene.

  2. Click the Expand layer list button again to close the layer list.
  3. Click the Basemap and Terrain button and change the basemap to OpenStreetMap. Tilt the scene so that you look straight down at Rittenhouse Square.

    Rittenhouse Square with OpenStreetMap basemap

    This basemap emphasizes streets. Streets line Rittenhouse Square on every side, but the patrol is meant to cover some of the surrounding area as well. The route will begin at the intersection of Walnut Street and South 18th Street.

  4. On the toolbar, click the Draw button and choose Line.

    Line option in Draw button menu

    A window opens with options for drawing.

  5. On the window, confirm that the General tab is active. On the map, click the intersection of Walnut Street and South 18th Street (the northeast corner of Rittenhouse Square).

    First intersection

    Once you click the map, you start drawing the line. Each subsequent location you click will be another vertex in the line.

  6. Click the intersection of Walnut Street and South 21st Street.

    Second intersection

    A line traveling east to west is created. The measurement above the line indicates a length of about 440 meters. You'll continue to add intersections to complete the route.

  7. Click the following intersections in order:
    • South 21st Street and Locust Street
    • Locust Street and West Rittenhouse Square
    • West Rittenhouse Square and South Rittenhouse Square
    • South Rittenhouse Square and South 18th Street

    Incomplete route

  8. To complete the route, double-click near the starting point at Walnut Street and South 18th Street.

    Complete route

  9. Close the window with drawing options. Change the basemap back to Imagery and open the layer list.

    A new layer, Untitled line, now appears in the layer list.

    Note:

    If you do not want the path to be visible in the animation, you can uncheck the layer. Doing so will not influence the path taken during the animation.

  10. Turn on the Philadelphia Buildings layer.
  11. Right-click Untitled line and choose Rename. Type Route and press Enter.

    Next, you'll perform animated line-of-sight analysis on the route.

  12. Close the layer list. On the toolbar, click the Interactive analysis button and choose Line of Sight.
  13. In the line-of-sight window, click the Animation tab.

    Animation tab

  14. For Select line, choose Route. If necessary, for Model, choose Vehicle.

    The model represents the observer. It is automatically placed on the starting point of the route. Next, you'll place the target point.

    Note:

    By default, the line-of-sight analysis is performed from the front of the moving observer with a vertical offset of 2 meters. You can change the vertical offset in the Model window at the top of the scene.

  15. On the scene, double-click the center of the park.

    The animation is now ready to start.

  16. In the line-of-sight window, click Start animation.

    The vehicle starts moving along the route you drew.

    Tip:

    You can zoom, pan, and tilt the scene while the animation is playing for a better view of the vehicle. To pause the animation, click Stop animation.

    Animated line of sight

    The example image shows a location along the route where the line of sight of the park is obstructed.

    Tip:

    To make the animation play faster or slower, adjust the Speed parameter in the line-of-sight window.

  17. When the vehicle reaches the end of the route, click Stop animation.

    The line of sight is obstructed almost any time the vehicle is not on a road directly adjacent to the park. At ground level in a dense city, it's difficult to see far. The ground patrol will likely need to be supplemented with observers on the tops of buildings or aerial observers in helicopters.

  18. Close the line-of-sight window.

You've added a layer of 3D buildings to downtown Philadelphia, Pennsylvania. You also determined the line of sight for immobile and mobile observers. Based on your findings, you can determine where security personnel can see the park and where they can't.


Perform viewshed analysis

Previously, you performed line-of-sight analysis, which indicated whether a specified target point could be seen from a specified observer point. Next, you'll perform viewshed analysis. A viewshed indicates all locations that can be seen from a specified point. With viewsheds, you can determine not only whether observers can see the park, but also how much of the surrounding area they can see and what obstructions prevent them from seeing more.

First, you'll perform viewshed analysis for a single area. Then, you'll create an animated viewshed for a helicopter patrol.

Determine viewshed from a camera

You can create viewsheds for a single point or a dynamic line. You can also create a viewshed using the same camera you use to navigate ArcGIS Earth. Using the camera allows you to tilt the perspective of your observer in the position you want. You'll use the camera to determine the viewshed of an observer on a nearby building.

  1. If necessary, start ArcGIS Earth, sign in, and navigate to Rittenhouse Square, Philadelphia.
  2. On the toolbar, click the Interactive analysis button and choose Viewshed.

    Viewshed option

    A window opens with viewshed options. The pointer changes to show the viewshed of wherever you hover on the scene.

  3. In the viewshed window, click the From camera tab.

    From camera tab

    The pointer reverts to normal. Instead of clicking a place on the map to be the observer point, you'll move the ArcGIS Earth camera to represent the observer.

  4. Pan and zoom the scene so that the camera is located on a nearby building of your choice. Tilt the camera to face the park.

    Camera observer located on building

  5. In the viewshed window, click Apply camera.

    Apply camera button

    The viewshed is applied.

  6. In the viewshed window, adjust the Heading, Tilt, Horizontal angle, Vertical angle, and Range parameters until the park is covered with a blue area.

    Parameters

    These parameters change the direction the observer is facing. The blue areas represent everything that can be seen by the observer. Because you haven't navigated away from the observer point, almost everything on the scene is highlighted blue.
  7. Navigate the scene to a different position.

    Viewshed from top of nearby building

    The marker indicates the location of your camera when you applied the viewshed. The purple areas represent areas that cannot be seen by the observer. Due to the many buildings in the area, there are actually many places in and around the park that cannot be seen.

    Tip:

    If you want to adjust the position of the observer, you can either drag the observer on the scene or edit the observer point's coordinates.

  8. On the toolbar, click Share and choose Save Image. Save the image in a location of your choice with the name Viewshed from Building.
  9. Close the viewshed window.

    The viewshed is removed. By creating multiple viewsheds from different rooftops, the security deployment can compensate for blind spots in individual observers.

Create an animated viewshed

Next, you'll create a dynamic viewshed for a moving observer. Previously, you conducted dynamic line-of-sight analysis for a vehicle on the ground. However, you found that the vehicle's line of sight was almost always obstructed by buildings except when it was directly beside the park. Instead of creating a viewshed for a ground vehicle, you'll create one for a helicopter flying above the area.

You'll base the route of the helicopter on the route of the patrol car from your line-of-sight analysis. You'll need to adjust the route's height to be appropriate for an aerial craft.

  1. On the toolbar, click Expand layer list. Right-click Route and choose Properties.

    Properties option

    A window opens with options for the layer.

  2. On the General tab, for Altitude, choose Absolute and type 200 m.

    Altitude parameters

    The route is elevated 200 meters into the air, a reasonable height for a helicopter.

  3. Close the layer properties window and the layer list. On the toolbar, click Interactive analysis and choose Viewshed.
  4. In the viewshed window, click the Animation tab.
  5. On the Animation tab, forSelect line, choose Route. For Model, choose Aircraft.

    Animation settings

    The vehicle model is replaced by one representing an aircraft.

  6. Click Start animation.

    The camera moves to behind the aircraft as it proceeds on its route.

    Viewshed from helicopter

    Note:

    By default, the direction of the viewshed is consistent with the direction the observer is moving along the route. You can change the direction of the viewshed by adjusting the Heading, Tilt, Horizontal angle, Vertical angle, and Range parameters in the viewshed window.

    As with the dynamic line-of-sight animation you created for a ground vehicle, you can pause this animation at any point along its route or change the speed of the animation.

    The view from the helicopter is much better than that from the ground vehicle. However, even the helicopter has many blind spots depending on its location over the park. These blind spots can be supplemented by rooftop and ground observers.

  7. When the animation is finished, close the viewshed window.

In this lesson, you performed line of sight and viewshed analysis to determine which areas are and are not visible from vantage points around Rittenhouse Square in Philadelphia. Your analysis highlighted obstructions that prevented visibility from both the ground and air. By comparing multiple viewsheds, you can create a security deployment in which a handful of observers can watch the maximum amount of area.

The workflow you followed in this lesson can be applied to any security workflow. Visibility analysis is also important to many defense and urban planning workflows.

You can find more lessons in the Learn ArcGIS Lesson Gallery.