Perform line-of-sight analysis

You will determine whether the proposed locations of security personnel have a line of sight on Rittenhouse Square, a park in Philadelphia 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 desktop.
    Note:

    If you don't have ArcGIS Earth desktop, you can download it from the ArcGIS Earth product site.

    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, see options for software access.

  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. Confirm that the Imagery basemap is selected.

    Basemap and Terrain button

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

  7. 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.

    Rittenhouse Square location compared to the search result

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

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

    Note:

    Real-time data updates periodically. Your layers may differ from the example images.

    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.

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

    Add data button

    A window appears where you can access data from ArcGIS Online, ArcGIS Enterprise, local data, and web services.

  10. On the ArcGIS Online tab, click My Content and choose ArcGIS Online. In the search bar, type Philadelphia owner:Learn_ArcGIS and press Enter.

    Add Philadelphia buildings

  11. In the list of results, for the Philadelphia Downtown Buildings Learn scene layer, click the Add button.

    The Add button for the Philadelphia Downtown Buildings Learn scene layer

    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.

  12. Close the window.
  13. 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 ArcGIS tutorial series Map Venice in 2D and 3D.

  15. On the toolbar, click the Basemap and Terrain button and change the basemap to Dark Gray Canvas. (You may need to scroll down.)
  16. On the toolbar, click Expand Table of Contents button.

    Expand Table of Contents button on the toolbar

  17. In the table of contents, right-click the Philadelphia Downtown Buildings layer and choose Properties. In the Properties pane that appears, click the Appearance tab.
  18. For Layer transparency, type 40 percent.

    Layer transparency set to 40 percent

    With the transparency lowered, you are able to see the difference in height for these buildings.

  19. Close the Properties pane.

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).

    Scene positioned so that the 1818 Market St building and the park are both visible

  3. On the toolbar, click the Interactive analysis button and choose Line of Sight.

    Line of Sight option

    A window appears 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 top of the building on Market Street on its southern side.
    Tip:

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

    Observer point added to the top of the Market Street building.

    Note:

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

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

  6. Click the center of Rittenhouse Park to add the target point and double-click to finish.

    Target point added to the center of Rittenhouse Square.

    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.

    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.

    Tip:

    Optionally, you can change the line's colors using the Color scheme option in the line-of-sight window.

    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 for later use.

  9. Click an observer or target point for an obstructed line of sight to select it (x,y,z guides will appear to indicate the point is selected) and press the Delete key.

    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. Use a screen capture app or operating system tool on your device to save the line of site visualization.
  12. 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. In the table of contents, uncheck Philadelphia Downtown Buildings.

    Table of Contents with Philadelphia Downtown Buildings turned off

    The buildings are hidden on the scene.

  2. Click the Basemap and Terrain button and change the basemap to OpenStreetMap.
  3. Tilt the scene so that you look straight down at Rittenhouse Square. Zoom out so you can see the entire park and a few blocks to its west.

    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 appears with options for drawing.

  5. In 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 to Imagery and expand the table of contents.

    A new layer, Untitled line, now appears in the table of contents.

    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. Right-click Untitled line and choose Rename. Type Route and press Enter.

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

  11. In the table of contents, turn on the Philadelphia Downtown Buildings layer and click Collapse Table of Contents to close the table of contents.
  12. 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, click the center of the park and double click to finish.

    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 click 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. Use a screen capture app or operating system tool on your device to save the viewshed visualization.
  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. In the Data pane, right-click Route and choose Properties.

    Properties in the menu for the Route layer

    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 collapse the table of contents. On the toolbar, click Interactive analysis and choose Viewshed.
  4. In the viewshed window, click the Animation tab.
  5. On the Animation tab, for Select 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 tutorial, 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 tutorial can be applied to any security workflow. Visibility analysis is also important to many defense and urban planning workflows.

You can find more tutorials in the tutorial gallery.