Exercise 4: Finding the closest fire stations

Complexity: Beginner Data Requirement: ArcGIS Tutorial Data Setup Data Path: C:\ArcGIS\ArcTutor\Network Analyst\Tutorial Goal: Create, set up, and solve a closest facility analysis.

In this exercise, you will find the four fire stations that can provide the quickest response to a fire at a given address. You will also generate routes and driving directions for the firefighters to follow.

Preparing your display

Steps:
  1. If you have Exercise04.mxd open in ArcMap, skip to step 6.
  2. Start ArcMap by clicking Start > All Programs > ArcGIS > ArcMap 10.
  3. On the ArcMap - Getting Started dialog box, click Existing Maps > Browse for more.
  4. Browse to C:\ArcGIS\ArcTutor\Network Analyst\Tutorial.

    This is the default installation location for the tutorial data.

  5. Double-click Exercise04.mxd.

    The map document opens in ArcMap.

  6. Enable the Network Analyst extension.
    1. Click Customize > Extensions.

      The Extensions dialog box opens.

    2. Check Network Analyst.
    3. Click Close.
  7. If the Network Analyst toolbar is not displayed, you need to add it.

  8. Click Customize > Toolbars > Network Analyst.

    The Network Analyst toolbar is added to ArcMap.

    The Network Analyst toolbar

  9. If the Network Analyst window is not displayed, you need to add it.

  10. On the Network Analyst toolbar, click the Show/Hide Network Analyst Window button Show/Hide Network Analyst Window.

    The dockable Network Analyst window opens.

    The Network Analyst window

  11. You can dock or undock the Network Analyst window. In this exercise, it is docked below the Table Of Contents window.

Creating the closest facility analysis layer

Steps:
  1. Click Network Analyst on the Network Analyst toolbar and click New Closest Facility.

    Choosing New Closest Facility

    The closest facility analysis layer is added to the Network Analyst window. The network analysis classes (Facilities, Incidents, Routes, Point Barriers, Line Barriers, and Polygon Barriers) are empty.

    The Network Analyst window with empty classes

    The analysis layer is also added to the Table Of Contents window.

    The closest facility analysis layer shown in the table of contents

Adding facilities

Next, you will load facilities from a point feature layer that represents fire stations.

Steps:
  1. In the Network Analyst window, right-click Facilities (0) and click Load Locations.

    Clicking Load Locations in a context menu

    The Load Locations dialog box opens.

  2. Choose FireStations from the Load From drop-down list.

    Load Locations dialog box

  3. Click OK.

    Forty-three fire stations are displayed in the map as facilities and listed in the Network Analyst window.

    Map of fire stations loaded as incidents

Adding an incident

Next, you will add an incident by geocoding an address received from an emergency call.

Steps:
  1. In the Network Analyst window, right-click Incidents (0) and choose Find Address.

    The Find dialog box opens.

  2. Make sure that SanFranciscoLocator is chosen in the Choose a locator drop-down list.
  3. In the Street or Intersection text box, enter 1202 Twin Peaks Blvd.

    The Find dialog box

  4. Click Find.

    One location is found with that street address and is listed as a row in the table at the bottom of the Find dialog box.

  5. Right-click the row and choose Add as Network Analysis Object.

    Choosing Add as Network Analysis Object

    This adds the located address as an incident, which you can see on the map and in the Network Analyst window.

    The incident in the Network Analyst window

  6. Close the Find dialog box.

Setting up parameters for the analysis

Next, you will specify the parameters for your closest facility analysis.

Steps:
  1. Click the Analysis Layer Properties button on the Network Analyst window.

    Clicking the Layer Properties button

    The Layer Properties dialog box opens.

  2. Click the Analysis Settings tab.
  3. Make sure that Impedance is set to TravelTime (Minutes).
  4. Enter 3 in the Default Cutoff Value text box.

    ArcGIS will search for fire stations that are within three minutes of the fire on Twin Peaks Boulevard. Any fire stations outside the cutoff time are ignored.

  5. Increase Facilities to Find to 4.

    ArcGIS will search for a maximum of four fire stations from the fire site. However, the three-minute cutoff still applies; therefore, if only three fire stations are within the three-minute cutoff, then a fourth fire station will not be found.

  6. Choose Facility to Incident for the Travel From direction.

    The search results emanate out from the fire stations, which are loaded as facilities. This mimics the fire engines traveling from the stations to the fire (incident).

  7. Click the U-Turns at Junctions drop-down arrow and choose Allowed.
  8. Click the Output Shape Type drop-down arrow and choose True Shape with Measures.
  9. Uncheck Use Hierarchy.
  10. Check Ignore Invalid Locations.
  11. In the Restrictions frame, uncheck RestrictedTurns.

    Fire engines don't need to obey this traffic rule in emergencies.

  12. In the Directions frame, make sure that Distance Units is set to Miles, Use Time Attribute is checked, and the time attribute is set to TravelTime (Minutes).
  13. Your Analysis Settings tab should look like the following graphic:

    Properties in the Analysis Settings tab

  14. Click OK.

Identifying the closest facilities

Steps:
  1. Click the Solve button Solve on the Network Analyst toolbar.

    Routes appear in the map display and in the Route class in the Network Analyst window.

    The closest facility in the map display

    Note that you configured the analysis to find four facilities within a three-minute cutoff; however, only three facilities are within the cutoff.

  2. Click the Directions Window button Directions Window on the Network Analyst toolbar.

    The Directions dialog box opens.

    Driving directions from each fire station are listed in the window.

    The directions window

  3. If you don't plan to work on any other exercise, exit ArcMap. Click No to discard any changes.
  4. If you plan to work on another exercise, follow the substeps below.
    1. Click File > New.

      The New Document dialog box opens.

    2. Click OK.
    3. Click No when prompted to save changes.

2/2/2012